mercurial/branchmap.py
changeset 41759 aaad36b88298
parent 41718 a87ca1d7e61d
child 41797 68bbcc70e274
equal deleted inserted replaced
41758:15d3facfa40a 41759:aaad36b88298
   227 
   227 
   228         - False when cached tipnode is unknown or if we detect a strip.
   228         - False when cached tipnode is unknown or if we detect a strip.
   229         - True when cache is up to date or a subset of current repo."""
   229         - True when cache is up to date or a subset of current repo."""
   230         try:
   230         try:
   231             return ((self.tipnode == repo.changelog.node(self.tiprev))
   231             return ((self.tipnode == repo.changelog.node(self.tiprev))
   232                     and (self.filteredhash == \
   232                     and (self.filteredhash ==
   233                          scmutil.filteredhash(repo, self.tiprev)))
   233                          scmutil.filteredhash(repo, self.tiprev)))
   234         except IndexError:
   234         except IndexError:
   235             return False
   235             return False
   236 
   236 
   237     def _branchtip(self, heads):
   237     def _branchtip(self, heads):