##// END OF EJS Templates
test-notify: make it pass on Mac OS X 10.5
Florent Guillaume -
r6359:25e74cd3 default
parent child Browse files
Show More
@@ -31,8 +31,18 b' echo a >> a/a'
31 echo % commit
31 echo % commit
32 hg --traceback --cwd a commit -Amb -d '1 0'
32 hg --traceback --cwd a commit -Amb -d '1 0'
33
33
34 # on Mac OS X 10.5 the tmp path is very long so would get stripped in the subject line
35 cat <<EOF >> $HGRCPATH
36 [notify]
37 maxsubject = 200
38 EOF
39
40 # the python call below wraps continuation lines, which appear on Mac OS X 10.5 because
41 # of the very long subject line
34 echo '% pull (minimal config)'
42 echo '% pull (minimal config)'
35 hg --traceback --cwd b pull ../a 2>&1 | sed -e 's/\(Message-Id:\).*/\1/' \
43 hg --traceback --cwd b pull ../a 2>&1 |
44 python -c 'import sys,re; print re.sub("\n\t", " ", sys.stdin.read()),' |
45 sed -e 's/\(Message-Id:\).*/\1/' \
36 -e 's/changeset \([0-9a-f]* *\)in .*test-notif/changeset \1in test-notif/' \
46 -e 's/changeset \([0-9a-f]* *\)in .*test-notif/changeset \1in test-notif/' \
37 -e 's/^details: .*test-notify/details: test-notify/' \
47 -e 's/^details: .*test-notify/details: test-notify/' \
38 -e 's/^Date:.*/Date:/'
48 -e 's/^Date:.*/Date:/'
@@ -23,8 +23,7 b' To: baz, foo@bar'
23
23
24 changeset 0647d048b600 in test-notify/b
24 changeset 0647d048b600 in test-notify/b
25 details: test-notify/b?cmd=changeset;node=0647d048b600
25 details: test-notify/b?cmd=changeset;node=0647d048b600
26 description:
26 description: b
27 b
28
27
29 diffs (6 lines):
28 diffs (6 lines):
30
29
General Comments 0
You need to be logged in to leave comments. Login now