file() is not present in Python 3.
It also makes sure we read and write in bytes mode on Python 3.
Details
Details
- Reviewers
yuja - Group Reviewers
hg-reviewers - Commits
- rHG3c9f2d4dbb39: py3: replace file() with open() in test-convert-hg-source.t
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.