branch | stable |
changeset 12046 | 8e7960feb139 |
parent 12008 | fad5ed0ff997 |
child 12047 | dee1901a0ed8 |
--- a/mercurial/filemerge.py Sat Aug 21 22:48:14 2010 -0400 +++ b/mercurial/filemerge.py Thu Aug 26 17:38:43 2010 +0200 @@ -225,7 +225,8 @@ if not r and (_toolbool(ui, tool, "checkconflicts") or 'conflicts' in _toollist(ui, tool, "check")): - if re.match("^(<<<<<<< .*|=======|>>>>>>> .*)$", fcd.data()): + if re.search("^(<<<<<<< .*|=======|>>>>>>> .*)$", fcd.data(), + re.MULTILINE): r = 1 checked = False