# HG changeset patch # User Dirkjan Ochtman # Date 2010-02-06 10:29:23 # Node ID 32197f7eceb3eb1ef549917132403a2128eb4397 # Parent 8b90e29662194c498b966dc5ed2d06afd1fe30be localrepo: add a quick docstring for localrepo.branchmap() diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -326,6 +326,7 @@ class localrepository(repo.repository): 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