hg: disable tag caching, allows accessing hg repo from dump

This commit is contained in:
cinap_lenrek 2017-10-04 03:59:17 +02:00
parent a9b4126468
commit 19b026bdbb
2 changed files with 2 additions and 2 deletions

View file

@ -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.'''

View file

@ -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.'''