D1674: py3: pass bytes from extension to ui.write() in test-revlog-mmapindex.t
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Wed Dec 13 08:05:38 EST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG4786ad4b5d54: py3: pass bytes from extension to ui.write() in test-revlog-mmapindex.t (authored by pulkit, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D1674?vs=4399&id=4422
REVISION DETAIL
https://phab.mercurial-scm.org/D1674
AFFECTED FILES
tests/test-revlog-mmapindex.t
CHANGE DETAILS
diff --git a/tests/test-revlog-mmapindex.t b/tests/test-revlog-mmapindex.t
--- a/tests/test-revlog-mmapindex.t
+++ b/tests/test-revlog-mmapindex.t
@@ -6,12 +6,13 @@
>
> from mercurial import (
> extensions,
+ > pycompat,
> util,
> )
>
> def extsetup(ui):
> def mmapread(orig, fp):
- > ui.write("mmapping %s\n" % fp.name)
+ > ui.write(b"mmapping %s\n" % pycompat.bytestr(fp.name))
> ui.flush()
> return orig(fp)
>
To: pulkit, #hg-reviewers, yuja
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list