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

spectral (Kyle Lippincott) phabricator at mercurial-scm.org
Tue Feb 26 09:51:41 EST 2019


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

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)



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


More information about the Mercurial-devel mailing list