changeset 1059:d4dfa3c79d78

renames: add test demonstrating wrong renamelimit checking
author Kevin Bullock <kbullock@ringworld.org>
date Tue, 24 Oct 2017 15:20:03 -0500
parents 20b6df4e9434
children 0a4b119fb2b4
files tests/test-renames.t
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-renames.t
+++ b/tests/test-renames.t
@@ -606,3 +606,8 @@
   importing git objects into hg
   abort: git.similarity must be between 0 and 100
   [255]
+This clone should not succeed [BUG]
+  $ hg --config git.renamelimit=-5 clone gitcopyharder hgcopyharder2
+  importing git objects into hg
+  updating to branch default
+  3 files updated, 0 files merged, 0 files removed, 0 files unresolved