py3: make sure we open the file to write in bytes mode
ClosedPublic

Authored by pulkit on Thu, Dec 28, 7:49 PM.

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.
pulkit created this revision.Thu, Dec 28, 7:49 PM
durin42 accepted this revision.Wed, Jan 10, 5:56 PM
This revision is now accepted and ready to land.Wed, Jan 10, 5:56 PM
This revision was automatically updated to reflect the committed changes.
yuja added a subscriber: yuja.Thu, Jan 11, 9:39 AM
yuja added inline comments.
mercurial/subrepo.py
844

No. Here we explicitly states that we want to open a file in "text" mode.

Needs something like ac69675fff1c.