equal
deleted
inserted
replaced
223 lambda x: '"%s"' % util.localpath(replace[x.group()[1:]]), args) |
223 lambda x: '"%s"' % util.localpath(replace[x.group()[1:]]), args) |
224 r = util.system(toolpath + ' ' + args, cwd=repo.root, environ=env) |
224 r = util.system(toolpath + ' ' + args, cwd=repo.root, environ=env) |
225 |
225 |
226 if not r and (_toolbool(ui, tool, "checkconflicts") or |
226 if not r and (_toolbool(ui, tool, "checkconflicts") or |
227 'conflicts' in _toollist(ui, tool, "check")): |
227 'conflicts' in _toollist(ui, tool, "check")): |
228 if re.match("^(<<<<<<< .*|=======|>>>>>>> .*)$", fcd.data()): |
228 if re.search("^(<<<<<<< .*|=======|>>>>>>> .*)$", fcd.data(), |
|
229 re.MULTILINE): |
229 r = 1 |
230 r = 1 |
230 |
231 |
231 checked = False |
232 checked = False |
232 if 'prompt' in _toollist(ui, tool, "check"): |
233 if 'prompt' in _toollist(ui, tool, "check"): |
233 checked = True |
234 checked = True |