hgext/convert/common.py
changeset 5436 b4ae8535f834
parent 5435 d0c67b52ac01
child 5437 71e7c86adcb7
equal deleted inserted replaced
5435:d0c67b52ac01 5436:b4ae8535f834
   115     """Conversion sink (target) interface"""
   115     """Conversion sink (target) interface"""
   116 
   116 
   117     def __init__(self, ui, path):
   117     def __init__(self, ui, path):
   118         """Initialize conversion sink (or raise NoRepo("message")
   118         """Initialize conversion sink (or raise NoRepo("message")
   119         exception if path is not a valid repository)"""
   119         exception if path is not a valid repository)"""
   120         raise NotImplementedError()
   120         self.path = path
       
   121         self.ui = ui
   121 
   122 
   122     def getheads(self):
   123     def getheads(self):
   123         """Return a list of this repository's heads"""
   124         """Return a list of this repository's heads"""
   124         raise NotImplementedError()
   125         raise NotImplementedError()
   125 
   126