# HG changeset patch # User Boris Feld # Date 1498786538 -7200 # Node ID 84044b904c6acc32c97f188049919c27c3189a6b # Parent 3a09e6cecff06f8a2258ef0111e869edf1e7769a configitems: register the 'convert.hg.tagsbranch' config diff -r 3a09e6cecff0 -r 84044b904c6a hgext/convert/__init__.py --- a/hgext/convert/__init__.py Fri Jun 30 03:35:29 2017 +0200 +++ b/hgext/convert/__init__.py Fri Jun 30 03:35:38 2017 +0200 @@ -85,6 +85,9 @@ configitem('convert', 'hg.startrev', default=None, ) +configitem('convert', 'hg.tagsbranch', + default='default', +) # Commands definition was moved elsewhere to ease demandload job. diff -r 3a09e6cecff0 -r 84044b904c6a hgext/convert/hg.py --- a/hgext/convert/hg.py Fri Jun 30 03:35:29 2017 +0200 +++ b/hgext/convert/hg.py Fri Jun 30 03:35:38 2017 +0200 @@ -49,7 +49,7 @@ common.converter_sink.__init__(self, ui, path) self.branchnames = ui.configbool('convert', 'hg.usebranchnames', True) self.clonebranches = ui.configbool('convert', 'hg.clonebranches') - self.tagsbranch = ui.config('convert', 'hg.tagsbranch', 'default') + self.tagsbranch = ui.config('convert', 'hg.tagsbranch') self.lastbranch = None if os.path.isdir(path) and len(os.listdir(path)) > 0: try: