# HG changeset patch # User Siddharth Agarwal # Date 1411582835 25200 # Node ID 064a912ebfc2333995fdd92244c36a15720eb644 # Parent ace8320156ef02f355d9e416e26e8dd234964b09 test-convert-git.t: make copy detection deterministic Since both 'bar' and 'bar-copied' matched 'bar-copied2', Git's copy detection would sometimes result in 'bar' being the source for 'bar-copied2' and sometimes 'bar-copied'. Change bar in a separate commit so that that would no longer be the case. diff -r ace8320156ef -r 064a912ebfc2 tests/test-convert-git.t --- a/tests/test-convert-git.t Tue Sep 23 17:12:27 2014 -0700 +++ b/tests/test-convert-git.t Wed Sep 24 11:20:35 2014 -0700 @@ -278,6 +278,8 @@ R foo $ cd git-repo2 + $ echo bar2 >> bar + $ commit -a -m 'change bar' $ cp bar bar-copied2 $ git add bar-copied2 $ commit -a -m 'copy with no changes'