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

login
register
mail settings
Submitter phabricator
Date Feb. 25, 2019, 8:29 p.m.
Message ID <differential-rev-PHID-DREV-c6iwjaylcxbyj2endbrv-req@phab.mercurial-scm.org>
Download mbox | patch
Permalink /patch/38934/
State Superseded
Headers show

Comments

phabricator - Feb. 25, 2019, 8:29 p.m.
spectral created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

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

AFFECTED FILES
  hgext/remotefilelog/repack.py

CHANGE DETAILS




To: spectral, #hg-reviewers
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)