--- a/hgext/convert/__init__.py Fri Jun 30 03:33:51 2017 +0200
+++ b/hgext/convert/__init__.py Fri Jun 30 03:34:00 2017 +0200
@@ -52,6 +52,9 @@
configitem('convert', 'git.findcopiesharder',
default=False,
)
+configitem('convert', 'git.remoteprefix',
+ default='remote',
+)
# Commands definition was moved elsewhere to ease demandload job.
--- 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 + '/'),