ref: 19b026bdbbe297c3d404f883b27409ae036c8a42
parent: a9b4126468e49b662c12d2d35251443a6d7a3192
author: cinap_lenrek <[email protected]>
date: Tue Oct 3 23:59:17 EDT 2017
hg: disable tag caching, allows accessing hg repo from dump
--- a/sys/lib/python/mercurial/tags.py
+++ b/sys/lib/python/mercurial/tags.py
@@ -97,7 +97,7 @@
_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.'''
--- a/sys/src/cmd/hg/mercurial/tags.py
+++ b/sys/src/cmd/hg/mercurial/tags.py
@@ -97,7 +97,7 @@
_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.'''