diff hgext/convert/hg.py @ 34172:c72af5a4f997

configitems: register the 'convert.hg.usebranchnames' config
author Boris Feld <boris.feld@octobus.net>
date Fri, 30 Jun 2017 03:35:48 +0200
parents 84044b904c6a
children 671aba341d90
line wrap: on
line diff
--- a/hgext/convert/hg.py	Fri Jun 30 03:35:38 2017 +0200
+++ b/hgext/convert/hg.py	Fri Jun 30 03:35:48 2017 +0200
@@ -47,7 +47,7 @@
 class mercurial_sink(common.converter_sink):
     def __init__(self, ui, path):
         common.converter_sink.__init__(self, ui, path)
-        self.branchnames = ui.configbool('convert', 'hg.usebranchnames', True)
+        self.branchnames = ui.configbool('convert', 'hg.usebranchnames')
         self.clonebranches = ui.configbool('convert', 'hg.clonebranches')
         self.tagsbranch = ui.config('convert', 'hg.tagsbranch')
         self.lastbranch = None