This is an archive of the discontinued Mercurial Phabricator instance.

py3: open chistedit file in binary mode using vfs
ClosedPublic

Authored by martinvonz on Oct 31 2019, 6:22 PM.

Details

Summary

We write bytes to the file, so it should be open in binary
mode. Opening it via the vfs takes care of that for us.

Now you'll get yet a different traceback if you try to confirm you
histedit plan.

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.