hgext3rd/topic/topicmap.py
branchstable
changeset 4192 e527df0f2a68
parent 3397 f7129e3d5a38
child 4394 c6d1b0a6babe
child 4450 9b0cde5efbc9
equal deleted inserted replaced
4191:5c734be63c3e 4192:e527df0f2a68
   201         if not istopicfilter(repo.filtername):
   201         if not istopicfilter(repo.filtername):
   202             return super(_topiccache, self).update(repo, revgen)
   202             return super(_topiccache, self).update(repo, revgen)
   203         unfi = repo.unfiltered()
   203         unfi = repo.unfiltered()
   204         oldgetbranchinfo = unfi.revbranchcache().branchinfo
   204         oldgetbranchinfo = unfi.revbranchcache().branchinfo
   205 
   205 
   206         def branchinfo(r):
   206         def branchinfo(r, changelog=None):
   207             info = oldgetbranchinfo(r)
   207             info = oldgetbranchinfo(r)
   208             topic = ''
   208             topic = ''
   209             ctx = unfi[r]
   209             ctx = unfi[r]
   210             if ctx.mutable():
   210             if ctx.mutable():
   211                 topic = ctx.topic()
   211                 topic = ctx.topic()