changeset 41806:118c1ec4f31b

remotefilelog: do not specify an explicit version for repack Differential Revision: https://phab.mercurial-scm.org/D6024
author Kyle Lippincott <spectral@google.com>
date Fri, 22 Feb 2019 19:24:01 -0800
parents 090a41251f09
children 941685500125
files hgext/remotefilelog/repack.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/remotefilelog/repack.py	Sun Feb 24 19:55:20 2019 +0100
+++ b/hgext/remotefilelog/repack.py	Fri Feb 22 19:24:01 2019 -0800
@@ -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)