Mercurial > hg
diff mercurial/cmdutil.py @ 12066:d01e28657429
localrepo: introduce method for explicit branch cache update
Currently, localrepo.branchtags() is called in two locations to update the
_branchcache dict, however branchtags() itself does not update anything, it
calls branchmap() to do so. This change introduces a new updatebranchcache()
method that is used by both branchmap() and the calls to update the cache.
author | Georg Brandl <georg@python.org> |
---|---|
date | Sat, 28 Aug 2010 23:57:39 +0200 |
parents | ad787252fed6 |
children | 6f833fc3ccab |