remotefilelog: do not specify an explicit version for repack
authorKyle Lippincott <spectral@google.com>
Fri, 22 Feb 2019 19:24:01 -0800
changeset 41811 118c1ec4f31b
parent 41810 090a41251f09
child 41812 941685500125
remotefilelog: do not specify an explicit version for repack Differential Revision: https://phab.mercurial-scm.org/D6024
hgext/remotefilelog/repack.py
--- 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)