--- a/hgext/convert/__init__.py Fri Jun 30 03:34:00 2017 +0200
+++ b/hgext/convert/__init__.py Fri Jun 30 03:34:06 2017 +0200
@@ -55,6 +55,9 @@
configitem('convert', 'git.remoteprefix',
default='remote',
)
+configitem('convert', 'git.renamelimit',
+ default=400,
+)
# Commands definition was moved elsewhere to ease demandload job.
--- a/hgext/convert/git.py Fri Jun 30 03:34:00 2017 +0200
+++ b/hgext/convert/git.py Fri Jun 30 03:34:06 2017 +0200
@@ -90,8 +90,7 @@
if findcopiesharder:
self.simopt.append('--find-copies-harder')
- renamelimit = ui.configint('convert', 'git.renamelimit',
- default=400)
+ renamelimit = ui.configint('convert', 'git.renamelimit')
self.simopt.append('-l%d' % renamelimit)
else:
self.simopt = []