##// END OF EJS Templates
configitems: register the 'convert.hg.usebranchnames' config
Boris Feld -
r34171:c72af5a4 default
parent child Browse files
Show More
@@ -88,6 +88,9 b" configitem('convert', 'hg.startrev',"
88 configitem('convert', 'hg.tagsbranch',
88 configitem('convert', 'hg.tagsbranch',
89 default='default',
89 default='default',
90 )
90 )
91 configitem('convert', 'hg.usebranchnames',
92 default=True,
93 )
91
94
92 # Commands definition was moved elsewhere to ease demandload job.
95 # Commands definition was moved elsewhere to ease demandload job.
93
96
@@ -47,7 +47,7 b" sha1re = re.compile(r'\\b[0-9a-f]{12,40}\\"
47 class mercurial_sink(common.converter_sink):
47 class mercurial_sink(common.converter_sink):
48 def __init__(self, ui, path):
48 def __init__(self, ui, path):
49 common.converter_sink.__init__(self, ui, path)
49 common.converter_sink.__init__(self, ui, path)
50 self.branchnames = ui.configbool('convert', 'hg.usebranchnames', True)
50 self.branchnames = ui.configbool('convert', 'hg.usebranchnames')
51 self.clonebranches = ui.configbool('convert', 'hg.clonebranches')
51 self.clonebranches = ui.configbool('convert', 'hg.clonebranches')
52 self.tagsbranch = ui.config('convert', 'hg.tagsbranch')
52 self.tagsbranch = ui.config('convert', 'hg.tagsbranch')
53 self.lastbranch = None
53 self.lastbranch = None
General Comments 0
You need to be logged in to leave comments. Login now