##// END OF EJS Templates
configitems: register the 'convert.hg.ignoreerrors' config
Boris Feld -
r34165:79c01348 default
parent child Browse files
Show More
@@ -70,6 +70,9 configitem('convert', 'git.skipsubmodule
70 configitem('convert', 'hg.clonebranches',
70 configitem('convert', 'hg.clonebranches',
71 default=False,
71 default=False,
72 )
72 )
73 configitem('convert', 'hg.ignoreerrors',
74 default=False,
75 )
73
76
74 # Commands definition was moved elsewhere to ease demandload job.
77 # Commands definition was moved elsewhere to ease demandload job.
75
78
@@ -446,7 +446,7 class mercurial_sink(common.converter_si
446 class mercurial_source(common.converter_source):
446 class mercurial_source(common.converter_source):
447 def __init__(self, ui, path, revs=None):
447 def __init__(self, ui, path, revs=None):
448 common.converter_source.__init__(self, ui, path, revs)
448 common.converter_source.__init__(self, ui, path, revs)
449 self.ignoreerrors = ui.configbool('convert', 'hg.ignoreerrors', False)
449 self.ignoreerrors = ui.configbool('convert', 'hg.ignoreerrors')
450 self.ignored = set()
450 self.ignored = set()
451 self.saverev = ui.configbool('convert', 'hg.saverev', False)
451 self.saverev = ui.configbool('convert', 'hg.saverev', False)
452 try:
452 try:
General Comments 0
You need to be logged in to leave comments. Login now