hgext/convert/common.py
changeset 22296 650b5b6e75ed
parent 21635 5f2cc464e502
child 22300 35ab037de989
equal deleted inserted replaced
22295:926bc0d3b595 22296:650b5b6e75ed
    86         raise NotImplementedError
    86         raise NotImplementedError
    87 
    87 
    88     def getfile(self, name, rev):
    88     def getfile(self, name, rev):
    89         """Return a pair (data, mode) where data is the file content
    89         """Return a pair (data, mode) where data is the file content
    90         as a string and mode one of '', 'x' or 'l'. rev is the
    90         as a string and mode one of '', 'x' or 'l'. rev is the
    91         identifier returned by a previous call to getchanges(). Raise
    91         identifier returned by a previous call to getchanges().
    92         IOError to indicate that name was deleted in rev.
    92         Data is None if file is missing/deleted in rev.
    93         """
    93         """
    94         raise NotImplementedError
    94         raise NotImplementedError
    95 
    95 
    96     def getchanges(self, version):
    96     def getchanges(self, version):
    97         """Returns a tuple of (files, copies).
    97         """Returns a tuple of (files, copies).