localrepo: remove spurious updatebranchcache return value
authorMads Kiilerich <mads@kiilerich.com>
Fri, 13 Jan 2012 01:19:08 +0100
changeset 15884 cc8287d51680
parent 15883 91d99f02b26f
child 15885 222fb8a512eb
localrepo: remove spurious updatebranchcache return value - it was left over from the refactoring in d01e28657429.
mercurial/localrepo.py
--- 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