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

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Fri Dec 14 20:19:01 EST 2018


yuja added a comment.


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

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D5424

To: pulkit, #hg-reviewers
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list