##// END OF EJS Templates
configitems: register the 'convert.hg.saverev' config
Boris Feld -
r34167:9bda5ce9 default
parent child Browse files
Show More
@@ -76,6 +76,9 b" configitem('convert', 'hg.ignoreerrors',"
76 configitem('convert', 'hg.revs',
76 configitem('convert', 'hg.revs',
77 default=None,
77 default=None,
78 )
78 )
79 configitem('convert', 'hg.saverev',
80 default=False,
81 )
79
82
80 # Commands definition was moved elsewhere to ease demandload job.
83 # Commands definition was moved elsewhere to ease demandload job.
81
84
@@ -448,7 +448,7 b' class mercurial_source(common.converter_'
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')
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')
452 try:
452 try:
453 self.repo = hg.repository(self.ui, path)
453 self.repo = hg.repository(self.ui, path)
454 # try to provoke an exception if this isn't really a hg
454 # try to provoke an exception if this isn't really a hg
General Comments 0
You need to be logged in to leave comments. Login now