D5424: py3: use util.buffer instead of buffer in remotefilelog

Yuya Nishihara yuya at tcha.org
Fri Dec 14 20:18:24 EST 2018


> -        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.


More information about the Mercurial-devel mailing list