--- a/tests/test-keyword.t Tue Aug 09 12:54:11 2011 +0200
+++ b/tests/test-keyword.t Wed Sep 14 15:30:21 2011 +0100
@@ -270,15 +270,20 @@
xxx $
ignore $Id$
-Check whether expansion is filewise
+Check whether expansion is filewise and file mode is preserved
$ echo '$Id$' > c
$ echo 'tests for different changenodes' >> c
+ $ chmod 600 c
+ $ ls -l c | cut -b 1-10
+ -rw-------
commit file c
$ hg commit -A -mcndiff -d '1 0' -u 'User Name <user@example.com>'
adding c
+ $ ls -l c | cut -b 1-10
+ -rw-------
force expansion