D3635: py3: add support for NoneType in stringutil.pprint()

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Tue May 22 07:23:52 EDT 2018


yuja added a comment.


  > - a/mercurial/utils/stringutil.py +++ b/mercurial/utils/stringutil.py @@ -29,6 +29,8 @@ if bprefix: return "b'%s'" % escapestr(o) return "'%s'" % escapestr(o) +    elif o is None: +        return 'None'
  
  Should be handled by `b'%r' % o`.

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list