Mercurial > hg
changeset 11842:71dab6955be0 stable
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.
author | Lee Cantey <lcantey@gmail.com> |
---|---|
date | Sun, 25 Jul 2010 08:22:03 -0700 |
parents | 3f838abf2b96 |
children | 00f8e7837668 |
files | tests/test-notify-changegroup tests/test-notify-changegroup.out |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-notify-changegroup Fri Aug 13 15:17:55 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 Fri Aug 13 15:17:55 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: