Mercurial > hg
comparison mercurial/mdiff.py @ 49576:d12446766a35 stable
upgrade: byteify requirement changes written to output
ui.write() expects bytes, and internally uses `b''` as the default when getting
the `label` keyword from `*args`. So either we're missing test coverage, or
there's some very subtle conversion from unicode somewhere.
Also, slip in a type hint to flag this in the future.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 06 Nov 2022 12:15:35 -0500 |
parents | d44e3c45f0e4 |
children | a78dfb1ad60e |
comparison
equal
deleted
inserted
replaced
49569:5318ac25dfdc | 49576:d12446766a35 |
---|