D3210: patch: move yielding "\n" to the end of loop

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Tue Apr 10 10:38:30 EDT 2018


yuja added a comment.


  Perhaps, it's simpler to use `mdiff.splitnewlines(chunk)` instead of `chunk.split('\n')`
  because otherwise the next patch has to reconstruct `line + '\n'`.

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list