D5249: remotefilelog: remove unused configs for {data, history}pack version
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Fri Nov 9 20:03:40 UTC 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGa777ad36b287: remotefilelog: remove unused configs for {data,history}pack version (authored by martinvonz, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5249?vs=12487&id=12494
REVISION DETAIL
https://phab.mercurial-scm.org/D5249
AFFECTED FILES
hgext/remotefilelog/__init__.py
tests/remotefilelog-library.sh
CHANGE DETAILS
diff --git a/tests/remotefilelog-library.sh b/tests/remotefilelog-library.sh
--- a/tests/remotefilelog-library.sh
+++ b/tests/remotefilelog-library.sh
@@ -3,8 +3,6 @@
[remotefilelog]
cachepath=$CACHEDIR
debug=True
-historypackv1=True
-datapackversion=1
[extensions]
remotefilelog=
rebase=
@@ -30,7 +28,6 @@
cat >> $dest/.hg/hgrc <<EOF
[remotefilelog]
reponame=master
-datapackversion=1
[phases]
publish=False
EOF
@@ -54,7 +51,6 @@
url=$lfsdir
[remotefilelog]
reponame=master
-datapackversion=1
[phases]
publish=False
EOF
diff --git a/hgext/remotefilelog/__init__.py b/hgext/remotefilelog/__init__.py
--- a/hgext/remotefilelog/__init__.py
+++ b/hgext/remotefilelog/__init__.py
@@ -219,13 +219,11 @@
configitem('remotefilelog', 'gcrepack', default=False)
configitem('remotefilelog', 'repackonhggc', default=False)
-configitem('remotefilelog', 'datapackversion', default=0)
configitem('repack', 'chainorphansbysize', default=True)
configitem('packs', 'maxpacksize', default=0)
configitem('packs', 'maxchainlen', default=1000)
-configitem('remotefilelog', 'historypackv1', default=False)
# default TTL limit is 30 days
_defaultlimit = 60 * 60 * 24 * 30
configitem('remotefilelog', 'nodettl', default=_defaultlimit)
To: martinvonz, #hg-reviewers, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list