Patchwork D6024: remotefilelog: do not specify an explicit version for repack

login
register
mail settings
Submitter phabricator
Date Feb. 26, 2019, 2:51 p.m.
Message ID <b88c50946263193e35ff65699fb17d7c@localhost.localdomain>
Download mbox | patch
Permalink /patch/38940/
State Not Applicable
Headers show

Comments

phabricator - Feb. 26, 2019, 2:51 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG118c1ec4f31b: remotefilelog: do not specify an explicit version for repack (authored by spectral, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6024?vs=14242&id=14247

REVISION DETAIL
  https://phab.mercurial-scm.org/D6024

AFFECTED FILES
  hgext/remotefilelog/repack.py

CHANGE DETAILS




To: spectral, #hg-reviewers, pulkit
Cc: mercurial-devel

Patch

diff --git a/hgext/remotefilelog/repack.py b/hgext/remotefilelog/repack.py
--- a/hgext/remotefilelog/repack.py
+++ b/hgext/remotefilelog/repack.py
@@ -338,7 +338,7 @@ 
     packer = repacker(repo, data, history, fullhistory, category,
                       gc=garbagecollect, isold=isold, options=options)
 
-    with datapack.mutabledatapack(repo.ui, packpath, version=2) as dpack:
+    with datapack.mutabledatapack(repo.ui, packpath) as dpack:
         with historypack.mutablehistorypack(repo.ui, packpath) as hpack:
             try:
                 packer.run(dpack, hpack)