##// END OF EJS Templates
configitems: register the 'convert.hg.tagsbranch' config
Boris Feld -
r34170:84044b90 default
parent child Browse files
Show More
@@ -85,6 +85,9 b" configitem('convert', 'hg.sourcename',"
85 configitem('convert', 'hg.startrev',
85 configitem('convert', 'hg.startrev',
86 default=None,
86 default=None,
87 )
87 )
88 configitem('convert', 'hg.tagsbranch',
89 default='default',
90 )
88
91
89 # Commands definition was moved elsewhere to ease demandload job.
92 # Commands definition was moved elsewhere to ease demandload job.
90
93
@@ -49,7 +49,7 b' class mercurial_sink(common.converter_si'
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')
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')
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:
55 try:
55 try:
General Comments 0
You need to be logged in to leave comments. Login now