hgext3rd/topic/discovery.py
changeset 4187 49d442a2207f
parent 4123 119fced5a891
child 4194 cae466b70bf1
equal deleted inserted replaced
4186:11b12ea01d1e 4187:49d442a2207f
    79             ctx.branch = branch
    79             ctx.branch = branch
    80             return ctx
    80             return ctx
    81 
    81 
    82         def revbranchcache(self):
    82         def revbranchcache(self):
    83             rbc = super(repocls, self).revbranchcache()
    83             rbc = super(repocls, self).revbranchcache()
    84             changelog = self.changelog
    84 
    85 
    85             def branchinfo(rev, changelog=None):
    86             def branchinfo(rev):
       
    87                 branch, close = changelog.branchinfo(rev)
    86                 branch, close = changelog.branchinfo(rev)
    88                 if rev in publishedset:
    87                 if rev in publishedset:
    89                     return branch, close
    88                     return branch, close
    90                 topic = repo[rev].topic()
    89                 topic = repo[rev].topic()
    91                 if topic:
    90                 if topic: