--- a/hgext/convert/__init__.py Fri Jun 30 03:33:41 2017 +0200
+++ b/hgext/convert/__init__.py Fri Jun 30 03:33:51 2017 +0200
@@ -49,6 +49,9 @@
configitem('convert', 'git.extrakeys',
default=list,
)
+configitem('convert', 'git.findcopiesharder',
+ default=False,
+)
# Commands definition was moved elsewhere to ease demandload job.
--- a/hgext/convert/git.py Fri Jun 30 03:33:41 2017 +0200
+++ b/hgext/convert/git.py Fri Jun 30 03:33:51 2017 +0200
@@ -86,8 +86,7 @@
raise error.Abort(_('similarity must be between 0 and 100'))
if similarity > 0:
self.simopt = ['-C%d%%' % similarity]
- findcopiesharder = ui.configbool('convert', 'git.findcopiesharder',
- False)
+ findcopiesharder = ui.configbool('convert', 'git.findcopiesharder')
if findcopiesharder:
self.simopt.append('--find-copies-harder')