hgext/convert/hg.py
changeset 5436 b4ae8535f834
parent 5435 d0c67b52ac01
child 5437 71e7c86adcb7
--- a/hgext/convert/hg.py
+++ b/hgext/convert/hg.py
@@ -16,8 +16,7 @@ from common import NoRepo, commit, conve
 
 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')