Mercurial > hg-stable
diff mercurial/localrepo.py @ 10327:32197f7eceb3
localrepo: add a quick docstring for localrepo.branchmap()
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Sat, 06 Feb 2010 11:29:23 +0100 |
parents | d9a2bc2f776b |
children | 36b6b5ef7820 |
line wrap: on
line diff
--- a/mercurial/localrepo.py Sat Feb 06 11:28:03 2010 +0100 +++ b/mercurial/localrepo.py Sat Feb 06 11:29:23 2010 +0100 @@ -326,6 +326,7 @@ return partial def branchmap(self): + '''returns a dictionary {branch: [branchheads]}''' tip = self.changelog.tip() if self._branchcache is not None and self._branchcachetip == tip: return self._branchcache