This fixes test-remotefilelog-bundles.t on Python 3.
Details
Details
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
- if isinstance(text, buffer):
+ if isinstance(text, util.buffer):
text = str(text)
util.buffer isn't a type object on Python 3. Given str(text) didn't
explode, such cases wouldn't be covered by the tests.