Comments
Patch
@@ -419,7 +419,7 @@ non-ascii content and truncation of mult
> EOF
$ echo a >> a/a
$ hg --cwd a --encoding utf-8 commit -A -d '0 0' \
- > -m `"$PYTHON" -c 'print("\xc3\xa0\xc3\xa1\xc3\xa2\xc3\xa3\xc3\xa4")'`
+ > -m `"$PYTHON" -c 'import sys; getattr(sys.stdout, "buffer", sys.stdout).write(b"\xc3\xa0\xc3\xa1\xc3\xa2\xc3\xa3\xc3\xa4")'`
$ hg --traceback --cwd b --encoding utf-8 pull ../a | \
> "$PYTHON" $TESTTMP/filter.py
pulling from ../a
@@ -434,7 +434,8 @@ non-ascii content and truncation of mult
Content-Transfer-Encoding: 8bit
X-Test: foo
Date: * (glob)
- Subject: \xc3\xa0... (esc)
+ Subject: \xc3\xa0... (esc) (no-py3 !)
+ Subject: =?utf-8?b?w6AuLi4=?= (py3 !)
From: test@test.com
X-Hg-Notification: changeset 0f25f9c22b4c
Message-Id: <*> (glob)