# HG changeset patch # User Mads Kiilerich # Date 1286626427 18000 # Node ID 624859bf4314315997051cdb07f6738f53b34d6d # Parent d7452292f9d3bc6ce54ee067eb254c994fae2eb2 test-notify: fix fix for line continuation in long mail header lines Continued lines can also start with space. Note that this hack also incorrectly patches the diff output. diff -r d7452292f9d3 -r 624859bf4314 tests/test-notify.t --- a/tests/test-notify.t Fri Oct 08 23:39:44 2010 -0500 +++ b/tests/test-notify.t Sat Oct 09 07:13:47 2010 -0500 @@ -109,7 +109,7 @@ pull (minimal config) $ hg --traceback --cwd b pull ../a | \ - > python -c 'import sys,re; print re.sub("\n\t", " ", sys.stdin.read()),' + > python -c 'import sys,re; print re.sub("\n[\t ]", " ", sys.stdin.read()),' pulling from ../a searching for changes adding changesets @@ -135,8 +135,7 @@ diff -r cb9a9f314b8b -r 0647d048b600 a --- a/a Thu Jan 01 00:00:00 1970 +0000 +++ b/a Thu Jan 01 00:00:01 1970 +0000 - @@ -1,1 +1,2 @@ - a + @@ -1,1 +1,2 @@ a +a (run 'hg update' to get a working copy) $ cat <> $HGRCPATH