summaryrefslogtreecommitdiff
path: root/sys/src/cmd/hg/mercurial
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2017-10-04 03:59:17 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2017-10-04 03:59:17 +0200
commit19b026bdbbe297c3d404f883b27409ae036c8a42 (patch)
treebd73772576d20af56f53a3cca15a3d9594851083 /sys/src/cmd/hg/mercurial
parenta9b4126468e49b662c12d2d35251443a6d7a3192 (diff)
hg: disable tag caching, allows accessing hg repo from dump
Diffstat (limited to 'sys/src/cmd/hg/mercurial')
-rw-r--r--sys/src/cmd/hg/mercurial/tags.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/hg/mercurial/tags.py b/sys/src/cmd/hg/mercurial/tags.py
index 0d9a85dd9..41a2ddc9a 100644
--- a/sys/src/cmd/hg/mercurial/tags.py
+++ b/sys/src/cmd/hg/mercurial/tags.py
@@ -97,7 +97,7 @@ def findglobaltags2(ui, repo, alltags, tagtypes):
_writetagcache(ui, repo, heads, tagfnode, alltags)
# Set this to findglobaltags1 to disable tag caching.
-findglobaltags = findglobaltags2
+findglobaltags = findglobaltags1
def readlocaltags(ui, repo, alltags, tagtypes):
'''Read local tags in repo. Update alltags and tagtypes.'''