This is an archive of the discontinued Mercurial Phabricator instance.

git: un-byteify the `mode` argument for the builtin `open()`
ClosedPublic

Authored by mharbison72 on Apr 18 2022, 2:54 PM.

Details

Summary

I guess this was assuming pycompat.open was imported, but it's not here or
elsewhere in the git extension.

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.