Details
Details
- Reviewers
dlax mharbison72 - Group Reviewers
hg-reviewers - Commits
- rHGaea70ca7dd85: subrepo: use pycompat.open directly instead of importing open from pycompat
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.
Event Timeline
Comment Actions
I don't think this is correct, because open is imported from pycompat at the top of the file, and that will sysstr() the mode. But this does seem confusing- see D7517.
Comment Actions
Ah, so it is. Since this is the only use of open in this file, I've switched to just using pycompat.open directly in this location. I'm also fine with just dropping this change.