hgext/convert/git.py
changeset 22512 6b6da715cb96
parent 22511 b1ec65b3ba31
child 23206 a7f25a31e021
--- a/hgext/convert/git.py	Tue Sep 23 14:40:32 2014 -0700
+++ b/hgext/convert/git.py	Tue Sep 23 14:45:23 2014 -0700
@@ -94,7 +94,8 @@
         if not os.path.exists(path + "/objects"):
             raise NoRepo(_("%s does not look like a Git repository") % path)
 
-        similarity = ui.configint('convert', 'git.similarity', default=0)
+        # The default value (50) is based on the default for 'git diff'.
+        similarity = ui.configint('convert', 'git.similarity', default=50)
         if similarity < 0 or similarity > 100:
             raise util.Abort(_('similarity must be between 0 and 100'))
         if similarity > 0: