From 19b026bdbbe297c3d404f883b27409ae036c8a42 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Wed, 4 Oct 2017 03:59:17 +0200 Subject: hg: disable tag caching, allows accessing hg repo from dump --- sys/lib/python/mercurial/tags.py | 2 +- sys/src/cmd/hg/mercurial/tags.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/lib/python/mercurial/tags.py b/sys/lib/python/mercurial/tags.py index 0d9a85dd9..41a2ddc9a 100644 --- a/sys/lib/python/mercurial/tags.py +++ b/sys/lib/python/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.''' 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.''' -- cgit v1.2.3