test-keyword: ignore subject in notify hook mails stable
authorMads Kiilerich <mads@kiilerich.com>
Sat, 09 Oct 2010 07:13:51 -0500
branchstable
changeset 831 1069be3ee9db
parent 830 7c5571af20c9
child 832 1f1db3dc9ddf
child 833 a9c6ada32647
test-keyword: ignore subject in notify hook mails Long tmpdir names caused truncation of subject anyway, and that made $TESTTMP replacement fail. [ original upstream description ]
tests/test-keyword.t
--- 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)