localrepo: add a quick docstring for localrepo.branchmap()
authorDirkjan Ochtman <dirkjan@ochtman.nl>
Sat, 06 Feb 2010 11:29:23 +0100
changeset 10327 32197f7eceb3
parent 10326 8b90e2966219
child 10328 0798a3d5f812
localrepo: add a quick docstring for localrepo.branchmap()
mercurial/localrepo.py
--- 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