hg: disable tag caching, allows accessing hg repo from dump
This commit is contained in:
parent
a9b4126468
commit
19b026bdbb
2 changed files with 2 additions and 2 deletions
|
@ -97,7 +97,7 @@ def findglobaltags2(ui, repo, alltags, tagtypes):
|
||||||
_writetagcache(ui, repo, heads, tagfnode, alltags)
|
_writetagcache(ui, repo, heads, tagfnode, alltags)
|
||||||
|
|
||||||
# Set this to findglobaltags1 to disable tag caching.
|
# Set this to findglobaltags1 to disable tag caching.
|
||||||
findglobaltags = findglobaltags2
|
findglobaltags = findglobaltags1
|
||||||
|
|
||||||
def readlocaltags(ui, repo, alltags, tagtypes):
|
def readlocaltags(ui, repo, alltags, tagtypes):
|
||||||
'''Read local tags in repo. Update alltags and tagtypes.'''
|
'''Read local tags in repo. Update alltags and tagtypes.'''
|
||||||
|
|
|
@ -97,7 +97,7 @@ def findglobaltags2(ui, repo, alltags, tagtypes):
|
||||||
_writetagcache(ui, repo, heads, tagfnode, alltags)
|
_writetagcache(ui, repo, heads, tagfnode, alltags)
|
||||||
|
|
||||||
# Set this to findglobaltags1 to disable tag caching.
|
# Set this to findglobaltags1 to disable tag caching.
|
||||||
findglobaltags = findglobaltags2
|
findglobaltags = findglobaltags1
|
||||||
|
|
||||||
def readlocaltags(ui, repo, alltags, tagtypes):
|
def readlocaltags(ui, repo, alltags, tagtypes):
|
||||||
'''Read local tags in repo. Update alltags and tagtypes.'''
|
'''Read local tags in repo. Update alltags and tagtypes.'''
|
||||||
|
|
Loading…
Reference in a new issue