diff -r b6b2a3d22344 -r 10c10da14c5d hgext/remotefilelog/repack.py --- 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)