Mercurial > hg
comparison tests/test-notify-changegroup @ 11671:ca6ede0988d5
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 | b714aac1f7b3 |
children |
comparison
equal
deleted
inserted
replaced
11670:1b3b843e1100 | 11671:ca6ede0988d5 |
---|---|
8 changegroup.notify = python:hgext.notify.hook | 8 changegroup.notify = python:hgext.notify.hook |
9 | 9 |
10 [notify] | 10 [notify] |
11 sources = push | 11 sources = push |
12 diffstat = False | 12 diffstat = False |
13 maxsubject = 200 | 13 maxsubject = 10 |
14 | 14 |
15 [usersubs] | 15 [usersubs] |
16 foo@bar = * | 16 foo@bar = * |
17 | 17 |
18 [reposubs] | 18 [reposubs] |
35 echo % push | 35 echo % push |
36 hg --traceback --cwd b push ../a 2>&1 | | 36 hg --traceback --cwd b push ../a 2>&1 | |
37 python -c 'import sys,re; print re.sub("\n\t", " ", sys.stdin.read()),' | | 37 python -c 'import sys,re; print re.sub("\n\t", " ", sys.stdin.read()),' | |
38 sed -e 's/\(Message-Id:\).*/\1/' \ | 38 sed -e 's/\(Message-Id:\).*/\1/' \ |
39 -e 's/changeset \([0-9a-f]* *\)in .*test-notif/changeset \1in test-notif/' \ | 39 -e 's/changeset \([0-9a-f]* *\)in .*test-notif/changeset \1in test-notif/' \ |
40 -e 's/^Subject: .*test-notify/Subject: test-notify/' \ | 40 -e 's/^Subject: .*/Subject: test-notify-changegroup/' \ |
41 -e 's/^details: .*test-notify/details: test-notify/' \ | 41 -e 's/^details: .*test-notify/details: test-notify/' \ |
42 -e 's/^Date:.*/Date:/' | 42 -e 's/^Date:.*/Date:/' |
43 | 43 |