diff hgext/convert/git.py @ 34160:f74edb48c574

configitems: register the 'convert.git.remoteprefix' config
author Boris Feld <boris.feld@octobus.net>
date Fri, 30 Jun 2017 03:34:00 +0200
parents 3e3327ced4ed
children d54ebe5bb411
line wrap: on
line diff
--- a/hgext/convert/git.py	Fri Jun 30 03:33:51 2017 +0200
+++ b/hgext/convert/git.py	Fri Jun 30 03:34:00 2017 +0200
@@ -446,7 +446,7 @@
         bookmarks = {}
 
         # Handle local and remote branches
-        remoteprefix = self.ui.config('convert', 'git.remoteprefix', 'remote')
+        remoteprefix = self.ui.config('convert', 'git.remoteprefix')
         reftypes = [
             # (git prefix, hg prefix)
             ('refs/remotes/origin/', remoteprefix + '/'),