Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG65b39c556c6d: py3: encode the name to bytes before using in revsetpredicate()
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
tests/test-extension.t | ||
---|---|---|
108 | name will already be bytes on Python 2. But, .encode() will still work because Python 2 has an encode() on bytes. So I think this is fine. If this weren't test code, I would have a different opinion. |
name will already be bytes on Python 2. But, .encode() will still work because Python 2 has an encode() on bytes. So I think this is fine. If this weren't test code, I would have a different opinion.