D5741: tests: write commit message using file I/O
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Wed Jan 30 14:08:46 EST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG8dd0680d16cf: tests: write commit message using file I/O (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D5741?vs=13563&id=13573
REVISION DETAIL
https://phab.mercurial-scm.org/D5741
AFFECTED FILES
tests/test-hgweb-json.t
CHANGE DETAILS
diff --git a/tests/test-hgweb-json.t b/tests/test-hgweb-json.t
--- a/tests/test-hgweb-json.t
+++ b/tests/test-hgweb-json.t
@@ -2196,7 +2196,8 @@
Commit message with Japanese Kanji 'Noh', which ends with '\x5c'
$ echo foo >> da/foo
- $ HGENCODING=cp932 hg ci -m `"$PYTHON" -c 'print("\x94\x5c")'`
+ >>> open('msg', 'wb').write(b'\x94\x5c\x0a') and None
+ $ HGENCODING=cp932 hg ci -l msg
Commit message with null character
To: indygreg, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list