Show More
@@ -441,6 +441,7 b' def filemerge(repo, mynode, orig, fcd, f' | |||||
441 | fcd = local file context for current/destination file |
|
441 | fcd = local file context for current/destination file | |
442 | """ |
|
442 | """ | |
443 |
|
443 | |||
|
444 | if True: | |||
444 | def temp(prefix, ctx): |
|
445 | def temp(prefix, ctx): | |
445 | pre = "%s~%s." % (os.path.basename(ctx.path()), prefix) |
|
446 | pre = "%s~%s." % (os.path.basename(ctx.path()), prefix) | |
446 | (fd, name) = tempfile.mkstemp(prefix=pre) |
|
447 | (fd, name) = tempfile.mkstemp(prefix=pre) | |
@@ -521,7 +522,8 b' def filemerge(repo, mynode, orig, fcd, f' | |||||
521 | r = 1 |
|
522 | r = 1 | |
522 |
|
523 | |||
523 | if not r and not checked and (_toolbool(ui, tool, "checkchanged") or |
|
524 | if not r and not checked and (_toolbool(ui, tool, "checkchanged") or | |
524 |
'changed' in |
|
525 | 'changed' in | |
|
526 | _toollist(ui, tool, "check")): | |||
525 | if filecmp.cmp(a, back): |
|
527 | if filecmp.cmp(a, back): | |
526 | if ui.promptchoice(_(" output file %s appears unchanged\n" |
|
528 | if ui.promptchoice(_(" output file %s appears unchanged\n" | |
527 | "was merge successful (yn)?" |
|
529 | "was merge successful (yn)?" |
General Comments 0
You need to be logged in to leave comments.
Login now