Mercurial > hg-stable
changeset 5856:85888efbdfff
keyword: test that expansion is done filewise
Checks issue fixed in 2a66138c5e7e.
author | Christian Ebert <blacktrash@gmx.net> |
---|---|
date | Fri, 11 Jan 2008 23:36:56 +0100 |
parents | a6ccb957fd07 |
children | c704b03884ef |
files | tests/test-keyword tests/test-keyword.out |
diffstat | 2 files changed, 27 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-keyword Mon Jan 14 09:00:23 2008 +0100 +++ b/tests/test-keyword Fri Jan 11 23:36:56 2008 +0100 @@ -79,6 +79,19 @@ echo % cat cat sym a b +echo % check whether expansion is filewise +echo '$Id$' > c +echo 'tests for different changenodes' >> c +echo % commit c +hg commit -A -mcndiff -d '1 0' -u 'User Name <user@example.com>' +echo % force expansion +hg -v kwexpand +echo % compare changenodes in a c +cat a c +echo % rollback and remove c +hg rollback +rm c + echo % copy hg cp a c
--- a/tests/test-keyword.out Mon Jan 14 09:00:23 2008 +0100 +++ b/tests/test-keyword.out Fri Jan 11 23:36:56 2008 +0100 @@ -146,6 +146,20 @@ do not process $Id: xxx $ ignore $Id$ +% check whether expansion is filewise +% commit c +adding c +% force expansion +overwriting a expanding keywords +overwriting c expanding keywords +% compare changenodes in a c +expand $Id: a,v f782df5f9602 1970/01/01 00:00:00 user $ +do not process $Id: +xxx $ +$Id: c,v ba4426d1938e 1970/01/01 00:00:01 user $ +tests for different changenodes +% rollback and remove c +rolling back last transaction % copy % kwfiles added a