hgext/convert/git.py
changeset 22471 cc5f94db672b
parent 22470 8e0c4df28eec
child 22511 b1ec65b3ba31
--- a/hgext/convert/git.py	Fri Sep 12 11:23:26 2014 -0700
+++ b/hgext/convert/git.py	Fri Sep 12 12:28:30 2014 -0700
@@ -102,6 +102,10 @@
             raise util.Abort(_('similarity must be between 0 and 100'))
         if similarity > 0:
             self.simopt = '--find-copies=%d%%' % similarity
+            findcopiesharder = ui.configbool('convert', 'git.findcopiesharder',
+                                             False)
+            if findcopiesharder:
+                self.simopt += ' --find-copies-harder'
         else:
             self.simopt = ''