diff --git a/hgext/convert/__init__.py b/hgext/convert/__init__.py --- a/hgext/convert/__init__.py +++ b/hgext/convert/__init__.py @@ -70,6 +70,9 @@ configitem('convert', 'git.skipsubmodule configitem('convert', 'hg.clonebranches', default=False, ) +configitem('convert', 'hg.ignoreerrors', + default=False, +) # Commands definition was moved elsewhere to ease demandload job. diff --git a/hgext/convert/hg.py b/hgext/convert/hg.py --- a/hgext/convert/hg.py +++ b/hgext/convert/hg.py @@ -446,7 +446,7 @@ class mercurial_sink(common.converter_si class mercurial_source(common.converter_source): def __init__(self, ui, path, revs=None): common.converter_source.__init__(self, ui, path, revs) - self.ignoreerrors = ui.configbool('convert', 'hg.ignoreerrors', False) + self.ignoreerrors = ui.configbool('convert', 'hg.ignoreerrors') self.ignored = set() self.saverev = ui.configbool('convert', 'hg.saverev', False) try: