Mercurial > hg
changeset 34166:79c01348ef34
configitems: register the 'convert.hg.ignoreerrors' config
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 30 Jun 2017 03:34:49 +0200 |
parents | 5b8cb63c130c |
children | 1a594c1d83f8 |
files | hgext/convert/__init__.py hgext/convert/hg.py |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/__init__.py Fri Jun 30 03:34:45 2017 +0200 +++ b/hgext/convert/__init__.py Fri Jun 30 03:34:49 2017 +0200 @@ -70,6 +70,9 @@ configitem('convert', 'hg.clonebranches', default=False, ) +configitem('convert', 'hg.ignoreerrors', + default=False, +) # Commands definition was moved elsewhere to ease demandload job.
--- a/hgext/convert/hg.py Fri Jun 30 03:34:45 2017 +0200 +++ b/hgext/convert/hg.py Fri Jun 30 03:34:49 2017 +0200 @@ -446,7 +446,7 @@ 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: