Thu, 16 Jul 2009 15:40:13 -0500 Merge with stable
Matt Mackall <mpm@selenic.com> [Thu, 16 Jul 2009 15:40:13 -0500] rev 9154
Merge with stable
Thu, 16 Jul 2009 14:49:52 -0500 Add ui.progress API
Matt Mackall <mpm@selenic.com> [Thu, 16 Jul 2009 14:49:52 -0500] rev 9153
Add ui.progress API
Thu, 16 Jul 2009 10:41:19 -0400 tags: support 'instant' tag retrieval (issue548)
Greg Ward <greg-hg@gerg.ca> [Thu, 16 Jul 2009 10:41:19 -0400] rev 9152
tags: support 'instant' tag retrieval (issue548) - modify _readtagcache() and _writetagcache() to read/write tag->node mapping for global tags - if (and only if) tip unchanged, use that cached mapping to avoid reading any revisions of .hgtags - change so tag names are UTF-8 in memory in tags.py, and converted to local encoding as late as possible (in localrepository._findtags())
Thu, 16 Jul 2009 10:39:42 -0400 tags: implement persistent tag caching (issue548).
Greg Ward <greg-hg@gerg.ca> [Thu, 16 Jul 2009 10:39:42 -0400] rev 9151
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()
Thu, 16 Jul 2009 10:39:41 -0400 localrepo: add destroyed() method for strip/rollback to use (issue548).
Greg Ward <greg-hg@gerg.ca> [Thu, 16 Jul 2009 10:39:41 -0400] rev 9150
localrepo: add destroyed() method for strip/rollback to use (issue548).
Thu, 16 Jul 2009 10:39:41 -0400 Factor tags module out of localrepo (issue548).
Greg Ward <greg-hg@gerg.ca> [Thu, 16 Jul 2009 10:39:41 -0400] rev 9149
Factor tags module out of localrepo (issue548). Currently only handles reading tags, and will soon grow support for tag caching. Could eventually deal with updating tags too.
Thu, 16 Jul 2009 10:39:41 -0400 localrepo: factor updatetags() out of readtags() (issue548).
Greg Ward <greg-hg@gerg.ca> [Thu, 16 Jul 2009 10:39:41 -0400] rev 9148
localrepo: factor updatetags() out of readtags() (issue548).
Thu, 16 Jul 2009 10:39:41 -0400 localrepo: improve readability of _findtags(), readtags() (issue548).
Greg Ward <greg-hg@gerg.ca> [Thu, 16 Jul 2009 10:39:41 -0400] rev 9147
localrepo: improve readability of _findtags(), readtags() (issue548). - rename many local variables - add some comments - refactor call to line.split() (catch ValueError rather than checking length of return value: one less local variable)
Thu, 16 Jul 2009 10:39:41 -0400 localrepo: rename in-memory tag cache instance attributes (issue548).
Greg Ward <greg-hg@gerg.ca> [Thu, 16 Jul 2009 10:39:41 -0400] rev 9146
localrepo: rename in-memory tag cache instance attributes (issue548). - self.tagscache to self._tags - self._tagstypecache to self._tagtypes - this is for consistency, readability, privacy, and to subtly hint that "caching" is something else
Thu, 16 Jul 2009 10:39:41 -0400 localrepo: factor _findtags() out of tags() (issue548).
Greg Ward <greg-hg@gerg.ca> [Thu, 16 Jul 2009 10:39:41 -0400] rev 9145
localrepo: factor _findtags() out of tags() (issue548). This makes in-memory caching the sole responsibility of localrepo, eliminating some localrepo code that was duplicated in mq and bookmarks.
(0) -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 +3000 +10000 +30000 tip