Mercurial > hg
diff tests/test-mq.out @ 9151:f528d1a93491
tags: implement persistent tag caching (issue548).
- rename findglobaltags() to findglobaltags1() (so the "no cache"
implementation is still there if we need it)
- add findglobaltags2() and make findglobaltags() an alias for it
(disabling tag caching is a one-line patch)
- factor out tagcache class with methods readcache() and writecache();
the expensive part of tag finding (iterate over heads and find
.hgtags filenode) is now in tagcache.readcache()
author | Greg Ward <greg-hg@gerg.ca> |
---|---|
date | Thu, 16 Jul 2009 10:39:42 -0400 |
parents | 561ff8d9e4f0 |
children | 4017291c4c48 |
line wrap: on
line diff
--- a/tests/test-mq.out Thu Jul 16 10:39:41 2009 -0400 +++ b/tests/test-mq.out Thu Jul 16 10:39:42 2009 -0400 @@ -110,9 +110,13 @@ % qpop popping test.patch patch queue now empty -% qpush +% qpush with dump of tag cache +.hg/tags.cache (pre qpush): +1 applying test.patch now at: test.patch +.hg/tags.cache (post qpush): +2 % pop/push outside repo popping test.patch patch queue now empty