D7375: py3: replace "%r" by"'%s'% for py3-compatible (and clearer) quoting in chg

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Wed Nov 13 17:59:48 EST 2019


durin42 added a comment.


  I feel obligated to point out that this will result in different (wrong!) quoting if `path` contains a `'`, but that's also probably fine since it's just a log.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7375/new/

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

To: martinvonz, #hg-reviewers
Cc: durin42, mercurial-devel


More information about the Mercurial-devel mailing list