##// END OF EJS Templates
configitems: register the 'convert.hg.clonebranches' config
Boris Feld -
r34164:5b8cb63c default
parent child Browse files
Show More
@@ -67,6 +67,9 b" configitem('convert', 'git.similarity',"
67 configitem('convert', 'git.skipsubmodules',
67 configitem('convert', 'git.skipsubmodules',
68 default=False,
68 default=False,
69 )
69 )
70 configitem('convert', 'hg.clonebranches',
71 default=False,
72 )
70
73
71 # Commands definition was moved elsewhere to ease demandload job.
74 # Commands definition was moved elsewhere to ease demandload job.
72
75
@@ -48,7 +48,7 b' class mercurial_sink(common.converter_si'
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', True)
51 self.clonebranches = ui.configbool('convert', 'hg.clonebranches', False)
51 self.clonebranches = ui.configbool('convert', 'hg.clonebranches')
52 self.tagsbranch = ui.config('convert', 'hg.tagsbranch', 'default')
52 self.tagsbranch = ui.config('convert', 'hg.tagsbranch', 'default')
53 self.lastbranch = None
53 self.lastbranch = None
54 if os.path.isdir(path) and len(os.listdir(path)) > 0:
54 if os.path.isdir(path) and len(os.listdir(path)) > 0:
General Comments 0
You need to be logged in to leave comments. Login now