[PATCH STABLE] annotate: do not poorly split lines at CR (issue5798)
Yuya Nishihara
yuya at tcha.org
Sun Mar 4 07:20:07 EST 2018
On Sat, 03 Mar 2018 22:45:52 -0500, Matt Harbison wrote:
> On Wed, 21 Feb 2018 07:49:41 -0500, Yuya Nishihara <yuya at tcha.org> wrote:
>
> > # HG changeset patch
> > # User Yuya Nishihara <yuya at tcha.org>
> > # Date 1519215245 -32400
> > # Wed Feb 21 21:14:05 2018 +0900
> > # Branch stable
> > # Node ID 24b17a714a92c8fe860db5f6d0d49c23293deec6
> > # Parent c19e66dacaa184feba31136c18a369ba995ddfe4
> > annotate: do not poorly split lines at CR (issue5798)
>
> Should this difference be conditionalized away, or is it
> important/unexpected?
> $ hg annotate -r0 a | substcr
> - 0: 0a[CR]0b[CR]
> - 0: 0c[CR]0d[CR]
> + 0: 0a[CR]0b
> + 0: 0c[CR]0d
It's kinda important. Is the last CR eaten by Windows sed?
More information about the Mercurial-devel
mailing list