Without this if branch, we infinitely recurse in _flatten, which is
very confusing. Something in an hgweb template is trying to write out
a string instead of a bytes on Python 3, and this at least makes it
crash politely.
Details
Details
- Reviewers
yuja - Group Reviewers
hg-reviewers - Commits
- rHGb13c95919ff5: templater: explode if we try to emit a str
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped