Test case for log --copies on non-linear manifests (
issue391)
--- a/tests/test-log Fri Oct 13 16:34:58 2006 +0200
+++ b/tests/test-log Fri Oct 13 09:58:55 2006 -0700
@@ -32,6 +32,13 @@
echo % log copies
hg log -vC --template '{rev} {file_copies%filecopy}\n'
+echo % log copies, non-linear manifest
+hg up -C 3
+hg mv dir/b e
+echo foo > foo
+hg ci -Ame2 -d '6 0'
+hg log -vC --template '{rev} {file_copies%filecopy}\n' -r 5
+
# log --follow tests
hg init ../follow
cd ../follow
--- a/tests/test-log.out Fri Oct 13 16:34:58 2006 +0200
+++ b/tests/test-log.out Fri Oct 13 09:58:55 2006 -0700
@@ -82,6 +82,10 @@
2 dir/b (b)
1 b (a)
0
+% log copies, non-linear manifest
+1 files updated, 0 files merged, 1 files removed, 0 files unresolved
+adding foo
+5 e (dir/b)
adding base
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
adding b1