From 4a56baa93738170a467b026fc2a01e42038a4fa5 Mon Sep 17 00:00:00 2001 From: Mads Kiilerich Date: Sat, 9 Oct 2010 07:13:47 -0500 Subject: [PATCH] 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. --- tests/test-notify.t | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test-notify.t b/tests/test-notify.t index 012d21c00b..a644927660 100644 --- a/tests/test-notify.t +++ b/tests/test-notify.t @@ -109,7 +109,7 @@ of the very long subject line 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 @@ pull (minimal config) 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