diff mercurial/similar.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 0c8646292ca4
children 525fdb738975
line wrap: on
line diff