##// END OF EJS Templates
localrepo: add a quick docstring for localrepo.branchmap()
Dirkjan Ochtman -
r10327:32197f7e default
parent child Browse files
Show More
@@ -326,6 +326,7 b' class localrepository(repo.repository):'
326 return partial
326 return partial
327
327
328 def branchmap(self):
328 def branchmap(self):
329 '''returns a dictionary {branch: [branchheads]}'''
329 tip = self.changelog.tip()
330 tip = self.changelog.tip()
330 if self._branchcache is not None and self._branchcachetip == tip:
331 if self._branchcache is not None and self._branchcachetip == tip:
331 return self._branchcache
332 return self._branchcache
General Comments 0
You need to be logged in to leave comments. Login now