comparison mercurial/localrepo.py @ 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 cd956049fc14
children a5917346c72e
comparison
equal deleted inserted replaced
15883:91d99f02b26f 15884:cc8287d51680
478 return partial 478 return partial
479 479
480 def updatebranchcache(self): 480 def updatebranchcache(self):
481 tip = self.changelog.tip() 481 tip = self.changelog.tip()
482 if self._branchcache is not None and self._branchcachetip == tip: 482 if self._branchcache is not None and self._branchcachetip == tip:
483 return self._branchcache 483 return
484 484
485 oldtip = self._branchcachetip 485 oldtip = self._branchcachetip
486 self._branchcachetip = tip 486 self._branchcachetip = tip
487 if oldtip is None or oldtip not in self.changelog.nodemap: 487 if oldtip is None or oldtip not in self.changelog.nodemap:
488 partial, last, lrev = self._readbranchcache() 488 partial, last, lrev = self._readbranchcache()