##// END OF EJS Templates
py3: fix generated non-ascii message in test-notify.t...
Denis Laxalde -
r43639:90ee1f61 stable
parent child Browse files
Show More
@@ -419,7 +419,7 b' non-ascii content and truncation of mult'
419 > EOF
419 > EOF
420 $ echo a >> a/a
420 $ echo a >> a/a
421 $ hg --cwd a --encoding utf-8 commit -A -d '0 0' \
421 $ hg --cwd a --encoding utf-8 commit -A -d '0 0' \
422 > -m `"$PYTHON" -c 'print("\xc3\xa0\xc3\xa1\xc3\xa2\xc3\xa3\xc3\xa4")'`
422 > -m `"$PYTHON" -c 'import sys; getattr(sys.stdout, "buffer", sys.stdout).write(b"\xc3\xa0\xc3\xa1\xc3\xa2\xc3\xa3\xc3\xa4")'`
423 $ hg --traceback --cwd b --encoding utf-8 pull ../a | \
423 $ hg --traceback --cwd b --encoding utf-8 pull ../a | \
424 > "$PYTHON" $TESTTMP/filter.py
424 > "$PYTHON" $TESTTMP/filter.py
425 pulling from ../a
425 pulling from ../a
@@ -434,7 +434,8 b' non-ascii content and truncation of mult'
434 Content-Transfer-Encoding: 8bit
434 Content-Transfer-Encoding: 8bit
435 X-Test: foo
435 X-Test: foo
436 Date: * (glob)
436 Date: * (glob)
437 Subject: \xc3\xa0... (esc)
437 Subject: \xc3\xa0... (esc) (no-py3 !)
438 Subject: =?utf-8?b?w6AuLi4=?= (py3 !)
438 From: test@test.com
439 From: test@test.com
439 X-Hg-Notification: changeset 0f25f9c22b4c
440 X-Hg-Notification: changeset 0f25f9c22b4c
440 Message-Id: <*> (glob)
441 Message-Id: <*> (glob)
General Comments 0
You need to be logged in to leave comments. Login now