hgext/remotefilelog/repack.py
changeset 40506 10c10da14c5d
parent 40497 3fbfbc8c9f82
child 40526 1419f780207c
--- a/hgext/remotefilelog/repack.py	Wed Oct 03 23:47:43 2018 -0400
+++ b/hgext/remotefilelog/repack.py	Wed Oct 03 23:25:31 2018 -0400
@@ -345,10 +345,7 @@
     packer = repacker(repo, data, history, fullhistory, category,
                       gc=garbagecollect, isold=isold, options=options)
 
-    # internal config: remotefilelog.datapackversion
-    dv = repo.ui.configint('remotefilelog', 'datapackversion', 0)
-
-    with datapack.mutabledatapack(repo.ui, packpath, version=dv) as dpack:
+    with datapack.mutabledatapack(repo.ui, packpath, version=2) as dpack:
         with historypack.mutablehistorypack(repo.ui, packpath) as hpack:
             try:
                 packer.run(dpack, hpack)