# HG changeset patch # User Christian Ebert # Date 1200091016 -3600 # Node ID 46f5cf3e1a7f7c8ee82d34b4a5e24aa0a0e4cd75 # Parent 9f78d508764b0c72b2320323ab679338c95797c1 Test that expansion is done filewise Checks issue fixed in c5bba07dadd5. diff -r 9f78d508764b -r 46f5cf3e1a7f tests/test-keyword --- a/tests/test-keyword Fri Jan 11 14:41:22 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 ' +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 diff -r 9f78d508764b -r 46f5cf3e1a7f tests/test-keyword.out --- a/tests/test-keyword.out Fri Jan 11 14:41:22 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