D2133: py3: replace file() with open() in test-convert-git.t

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Sun Feb 11 09:07:29 EST 2018


yuja requested changes to this revision.
yuja added inline comments.
This revision now requires changes to proceed.

INLINE COMMENTS

> test-convert-git.t:423
>    $ git init-db >/dev/null 2>/dev/null
> -  $ $PYTHON -c 'file("b", "wb").write("".join([chr(i) for i in range(256)])*16)'
> +  $ $PYTHON -c 'open("b", "wb").write("".join([chr(i) for i in range(256)])*16)'
>    $ git add b

We'll need b"' and make `chr()` return bytes.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D2133

To: pulkit, #hg-reviewers, yuja
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list