# HG changeset patch
# User Boris Feld <boris.f...@octobus.net>
# Date 1498786538 -7200
#      ven. juin 30 03:35:38 2017 +0200
# Node ID 1a45a9526e570e7b55c8d23470fa697f930e127c
# Parent  e3fca664768b13f2a0c5e105270e8470c4c33547
# EXP-Topic config.register.convert
configitems: register the 'convert.hg.tagsbranch' config

diff -r e3fca664768b -r 1a45a9526e57 hgext/convert/__init__.py
--- a/hgext/convert/__init__.py ven. juin 30 03:35:29 2017 +0200
+++ b/hgext/convert/__init__.py ven. juin 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 e3fca664768b -r 1a45a9526e57 hgext/convert/hg.py
--- a/hgext/convert/hg.py       ven. juin 30 03:35:29 2017 +0200
+++ b/hgext/convert/hg.py       ven. juin 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:
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to