Remove variable output affected by length of TMPDIR.
If the temporary directory is longer than /tmp then it's possible that
the Subject line will get wrapped by the headencode function.
--- a/tests/test-notify-changegroup Sun Jul 25 13:10:57 2010 +0200
+++ b/tests/test-notify-changegroup Sun Jul 25 08:22:03 2010 -0700
@@ -10,7 +10,7 @@
[notify]
sources = push
diffstat = False
-maxsubject = 200
+maxsubject = 10
[usersubs]
foo@bar = *
@@ -37,7 +37,7 @@
python -c 'import sys,re; print re.sub("\n\t", " ", sys.stdin.read()),' |
sed -e 's/\(Message-Id:\).*/\1/' \
-e 's/changeset \([0-9a-f]* *\)in .*test-notif/changeset \1in test-notif/' \
- -e 's/^Subject: .*test-notify/Subject: test-notify/' \
+ -e 's/^Subject: .*/Subject: test-notify-changegroup/' \
-e 's/^details: .*test-notify/details: test-notify/' \
-e 's/^Date:.*/Date:/'
--- a/tests/test-notify-changegroup.out Sun Jul 25 13:10:57 2010 +0200
+++ b/tests/test-notify-changegroup.out Sun Jul 25 08:22:03 2010 -0700
@@ -15,7 +15,7 @@
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Date:
-Subject: test-notify-changegroup/a: 2 new changesets
+Subject: test-notify-changegroup
From: test
X-Hg-Notification: changeset cb9a9f314b8b
Message-Id: