Mercurial > hg-stable
comparison hgeditor @ 47874:053dd53a0b59 stable
filemerge: be more strict when detecting conflict markers, add `|` markers
I received a user complaint about detecting a line that contained 78 `=`
followed by `*/` as a conflict marker. We'll never generate that, we generate 7
identical characters and either the end of the line, or a space. Let's be
explicit about detecting exactly what we produce to reduce the chances of a
false positive.
While we're here, add `|||||||` as a detected conflict marker (generated with
the `keep-merge3` style conflicts).
Differential Revision: https://phab.mercurial-scm.org/D11391
author | Kyle Lippincott <spectral@google.com> |
---|---|
date | Tue, 07 Sep 2021 11:50:12 -0700 |
parents | 1aee2ab0f902 |
children |
comparison
equal
deleted
inserted
replaced
47873:7538453ec322 | 47874:053dd53a0b59 |
---|