changeset 12648:8be2d78460ef

test-keyword: ignore subject in notify hook mails Long tmpdir names caused truncation of subject anyway, and that made $TESTTMP replacement fail.
author Mads Kiilerich <mads@kiilerich.com>
date Sat, 09 Oct 2010 07:13:51 -0500
parents 60c7ae35fcbe
children 6c0e1aee1b19
files tests/test-keyword.t
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-keyword.t	Sat Oct 09 07:13:49 2010 -0500
+++ b/tests/test-keyword.t	Sat Oct 09 07:13:51 2010 -0500
@@ -180,6 +180,7 @@
   > [notify]
   > sources = pull
   > diffstat = False
+  > maxsubject = 15
   > [reposubs]
   > * = Test
   > EOF
@@ -197,7 +198,7 @@
   MIME-Version: 1.0
   Content-Transfer-Encoding: 7bit
   Date: * (glob)
-  Subject: changeset in $TESTTMP/Test: addsym
+  Subject: changeset in...
   From: mercurial
   X-Hg-Notification: changeset a2392c293916
   Message-Id: <hg.a2392c293916*> (glob)
@@ -220,7 +221,7 @@
   MIME-Version: 1.0
   Content-Transfer-Encoding: 7bit
   Date:* (glob)
-  Subject: changeset in $TESTTMP/Test: absym
+  Subject: changeset in...
   From: User Name <user@example.com>
   X-Hg-Notification: changeset ef63ca68695b
   Message-Id: <hg.ef63ca68695b*> (glob)