changeset 22558:064a912ebfc2

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.
author Siddharth Agarwal <sid0@fb.com>
date Wed, 24 Sep 2014 11:20:35 -0700
parents ace8320156ef
children 4e0b696a1cb3
files tests/test-convert-git.t
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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'