Mercurial > public > mercurial-scm > hg
diff hgext/convert/hg.py @ 5440: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/hg.py Wed Oct 10 15:30:00 2007 -0700 +++ b/hgext/convert/hg.py Wed Oct 10 15:30:00 2007 -0700 @@ -16,8 +16,7 @@ class mercurial_sink(converter_sink): def __init__(self, ui, path): - self.path = path - self.ui = ui + converter_sink.__init__(self, ui, path) self.branchnames = ui.configbool('convert', 'hg.usebranchnames', True) self.clonebranches = ui.configbool('convert', 'hg.clonebranches', False) self.tagsbranch = ui.config('convert', 'hg.tagsbranch', 'default')