hgext3rd/topic/discovery.py
changeset 4804 079dbf36e884
parent 4743 92e3db149d7d
child 4814 48b30ff742cb
equal deleted inserted replaced
4803:88472e743c64 4804:079dbf36e884
   115             if ':' in key: # This is a topic
   115             if ':' in key: # This is a topic
   116                 if value[0] is None and value[1]:
   116                 if value[0] is None and value[1]:
   117                     summary[key] = ([value[1][0]], ) + value[1:]
   117                     summary[key] = ([value[1][0]], ) + value[1:]
   118         return summary
   118         return summary
   119     finally:
   119     finally:
   120         if 'unfiltered' in vars(repo):
   120         if r'unfiltered' in vars(repo):
   121             del repo.unfiltered
   121             del repo.unfiltered
   122         repo.__class__ = oldrepocls
   122         repo.__class__ = oldrepocls
   123         if remotebranchmap is not None:
   123         if remotebranchmap is not None:
   124             remote.branchmap = origremotebranchmap
   124             remote.branchmap = origremotebranchmap
   125 
   125