changeset 3747:b5c4d749f37f

Fix test-notify for systems without or with a different version of diffstat. Some diffstat versions say "1 file changed", others "1 files changed".
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 01 Dec 2006 14:46:05 +0100
parents a095c13c173c
children 7b88bd88f040
files tests/test-notify tests/test-notify.out
diffstat 2 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-notify
+++ b/tests/test-notify
@@ -13,6 +13,7 @@ sources = pull
 domain = test.com
 strip = 3
 template = Subject: {desc|firstline|strip}\nFrom: {author}\n\nchangeset {node|short} in {webroot}\ndescription:\n\t{desc|tabindent|strip}
+diffstat = False
 
 [web]
 baseurl = http://test/
--- a/tests/test-notify.out
+++ b/tests/test-notify.out
@@ -19,11 +19,6 @@ To: foo@bar
 changeset 0647d048b600
 description:
 	b
-diffstat:
-
-1 file changed, 1 insertion(+)
-a |    1 +
-
 diffs (6 lines):
 
 diff -r cb9a9f314b8b -r 0647d048b600 a