Mercurial > hg
comparison tests/test-notify @ 7658:44b3f7bbe2f3
notify: fix neglect of custom headers set via template
e981725da3fe introduced a bug that discarded all custom headers.
Add custom header to test template.
author | Christian Ebert <blacktrash@gmx.net> |
---|---|
date | Thu, 15 Jan 2009 01:38:52 +0100 |
parents | fb1d7a42663c |
children | 3cc74ee75b0d |
comparison
equal
deleted
inserted
replaced
7657:405cacb06745 | 7658:44b3f7bbe2f3 |
---|---|
50 cat <<EOF >> $HGRCPATH | 50 cat <<EOF >> $HGRCPATH |
51 [notify] | 51 [notify] |
52 config = $HGTMP/.notify.conf | 52 config = $HGTMP/.notify.conf |
53 domain = test.com | 53 domain = test.com |
54 strip = 3 | 54 strip = 3 |
55 template = Subject: {desc|firstline|strip}\nFrom: {author}\n\nchangeset {node|short} in {webroot}\ndescription:\n\t{desc|tabindent|strip} | 55 template = Subject: {desc|firstline|strip}\nFrom: {author}\nX-Test: foo\n\nchangeset {node|short} in {webroot}\ndescription:\n\t{desc|tabindent|strip} |
56 | 56 |
57 [web] | 57 [web] |
58 baseurl = http://test/ | 58 baseurl = http://test/ |
59 EOF | 59 EOF |
60 | 60 |