[Bug 4527] New: 'hg commit' causes invalidation of tag cache
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Wed Feb 4 09:04:41 UTC 2015
http://bz.selenic.com/show_bug.cgi?id=4527
Priority: normal
Bug ID: 4527
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: 'hg commit' causes invalidation of tag cache
Severity: bug
Classification: Unclassified
OS: Windows
Reporter: me at xavierzwirtz.com
Hardware: PC
Status: UNCONFIRMED
Version: 3.3
Component: Mercurial
Product: Mercurial
I am working on a repository with 643 branches, and roughly 4000 tags in each
.hgtags file. Running 'hg commit' causes the tag cache to be invalidated, which
makes any calls to 'hg log -G' cause tags to be recalculated. This makes
committing via TortoiseHG incredibly slow due to its reliance on always showing
the graph.
Output from 'hg blackbox'
2015/02/04 02:57:52 Xavier> log -G -l 1
2015/02/04 02:58:14 Xavier> resolved 604 tags cache entries from 604 manifests
in 21.4730 seconds
2015/02/04 02:58:31 Xavier> writing tags cache file with 604 heads and 5213
tags
2015/02/04 02:58:31 Xavier> log -G -l 1 exited 0 after 38.65 seconds
Would changing the cache to only invalidate tags on commit if .hgtags was
changed be a acceptable solution?
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list