changeset 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 8b90e2966219
children 0798a3d5f812
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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