Mercurial > hg > mercurial-crew-with-dirclash
diff hgext/convert/common.py @ 5436:b4ae8535f834
convert: add default constructor for converter_sink
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Wed, 10 Oct 2007 15:30:00 -0700 |
parents | d0c67b52ac01 |
children | 71e7c86adcb7 |
line wrap: on
line diff
--- a/hgext/convert/common.py +++ b/hgext/convert/common.py @@ -117,7 +117,8 @@ class converter_sink(object): def __init__(self, ui, path): """Initialize conversion sink (or raise NoRepo("message") exception if path is not a valid repository)""" - raise NotImplementedError() + self.path = path + self.ui = ui def getheads(self): """Return a list of this repository's heads"""