# HG changeset patch # User Thomas Arendsen Hein # Date 1164980765 -3600 # Node ID b5c4d749f37f3069a7111d144cdab53a6cbfa7c6 # Parent a095c13c173c6696c256a139ef20f93facc7d643 Fix test-notify for systems without or with a different version of diffstat. Some diffstat versions say "1 file changed", others "1 files changed". diff --git a/tests/test-notify b/tests/test-notify --- 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/ diff --git a/tests/test-notify.out b/tests/test-notify.out --- 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