equal
deleted
inserted
replaced
14 |
14 |
15 from common import NoRepo, commit, converter_source, converter_sink |
15 from common import NoRepo, commit, converter_source, converter_sink |
16 |
16 |
17 class mercurial_sink(converter_sink): |
17 class mercurial_sink(converter_sink): |
18 def __init__(self, ui, path): |
18 def __init__(self, ui, path): |
19 self.path = path |
19 converter_sink.__init__(self, ui, path) |
20 self.ui = ui |
|
21 self.branchnames = ui.configbool('convert', 'hg.usebranchnames', True) |
20 self.branchnames = ui.configbool('convert', 'hg.usebranchnames', True) |
22 self.clonebranches = ui.configbool('convert', 'hg.clonebranches', False) |
21 self.clonebranches = ui.configbool('convert', 'hg.clonebranches', False) |
23 self.tagsbranch = ui.config('convert', 'hg.tagsbranch', 'default') |
22 self.tagsbranch = ui.config('convert', 'hg.tagsbranch', 'default') |
24 self.lastbranch = None |
23 self.lastbranch = None |
25 try: |
24 try: |