D1941: mdiff: explicitly compute places for the newline marker
joerg.sonnenberger (Joerg Sonnenberger)
phabricator at mercurial-scm.org
Fri Jan 26 10:53:22 UTC 2018
joerg.sonnenberger added a comment.
No, the change to yield a bool first is not strictly necessary for the rest of the logic. But it cheaply kills the need for the `rewindhunk` generator, i.e. it cuts a layer of indirection cheaply.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D1941
To: joerg.sonnenberger, #hg-reviewers
Cc: durin42, mercurial-devel
More information about the Mercurial-devel
mailing list