Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG51ba9fbcca52: py3: use pycompat.byteskwargs on opts in phabricator.py
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 was under the impression that that was more of a hack, mainly useful for when there are lots of existing opts.get(b'') uses in a file, and when there are a few it was better to change to r''. Is it preferred to always use that then?
Comment Actions
I was under the impression that that was more of a hack, mainly useful for when there are lots of existing `opts.get(b'')` uses in a file, and when there are a few it was better to change to `r''`.
Correct. And I feel there are lots of s/b''/r''/s in this patch.