hgext/convert/common.py
changeset 4806 15a3cbfc6568
parent 4755 47091c8d028e
child 4809 c2d529f288a1
equal deleted inserted replaced
4800:6aa1fae4c28a 4806:15a3cbfc6568
    15     """Conversion source interface"""
    15     """Conversion source interface"""
    16 
    16 
    17     def __init__(self, ui, path, rev=None):
    17     def __init__(self, ui, path, rev=None):
    18         """Initialize conversion source (or raise NoRepo("message")
    18         """Initialize conversion source (or raise NoRepo("message")
    19         exception if path is not a valid repository)"""
    19         exception if path is not a valid repository)"""
    20         raise NotImplementedError()
    20         pass
    21 
    21 
    22     def getheads(self):
    22     def getheads(self):
    23         """Return a list of this repository's heads"""
    23         """Return a list of this repository's heads"""
    24         raise NotImplementedError()
    24         raise NotImplementedError()
    25 
    25