Mercurial > hg-stable
changeset 3383:c7c6f1a45348
Test case for log --copies on non-linear manifests (issue391)
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Fri, 13 Oct 2006 09:58:55 -0700 |
parents | 80721b86a448 |
children | 5e6c19919741 |
files | tests/test-log tests/test-log.out |
diffstat | 2 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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