# HG changeset patch # User Kyle Lippincott # Date 2019-02-23 03:24:01 # Node ID 118c1ec4f31b013ac80e471c8252f67afeab1abb # Parent 090a41251f093e8b8b97046deeef59f1d060d4e4 remotefilelog: do not specify an explicit version for repack Differential Revision: https://phab.mercurial-scm.org/D6024 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 @@ def _runrepack(repo, data, history, pack 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)