This password manager proxy is roughly the right-looking layer to
convert between strings and bytes. Many of these arguments can be
None, so we have a helper method to make the conversion preserve Nones
without exploding.
Details
Details
- Reviewers
yuja - Group Reviewers
hg-reviewers - Commits
- rHG75de5d456b60: ui: convert to/from Optional[bytes] to Optional[str] in password manager
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
mercurial/ui.py | ||
---|---|---|
141 | No idea why. strurl() should just return the input on Py2. |
Comment Actions
Oddly, this is now working correctly for me. I'm baffled why it was broken previously.
Nit: no need to check if ispy3.