Mercurial > hg
changeset 34171:84044b904c6a
configitems: register the 'convert.hg.tagsbranch' config
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 30 Jun 2017 03:35:38 +0200 |
parents | 3a09e6cecff0 |
children | c72af5a4f997 |
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: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.
--- 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: