changeset 15884:cc8287d51680

localrepo: remove spurious updatebranchcache return value - it was left over from the refactoring in d01e28657429.
author Mads Kiilerich <mads@kiilerich.com>
date Fri, 13 Jan 2012 01:19:08 +0100
parents 91d99f02b26f
children 222fb8a512eb
files mercurial/localrepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/localrepo.py	Wed Jan 11 02:29:56 2012 +0100
+++ b/mercurial/localrepo.py	Fri Jan 13 01:19:08 2012 +0100
@@ -480,7 +480,7 @@
     def updatebranchcache(self):
         tip = self.changelog.tip()
         if self._branchcache is not None and self._branchcachetip == tip:
-            return self._branchcache
+            return
 
         oldtip = self._branchcachetip
         self._branchcachetip = tip