Show More
@@ -407,10 +407,10 b' def simplemerge(ui, local, base, other, ' | |||
|
407 | 407 | f.close() |
|
408 | 408 | if util.binary(text): |
|
409 | 409 | msg = _("%s looks like a binary file.") % filename |
|
410 | if not opts.get('quiet'): | |
|
411 | ui.warn(_('warning: %s\n') % msg) | |
|
410 | 412 | if not opts.get('text'): |
|
411 | 413 | raise util.Abort(msg) |
|
412 | elif not opts.get('quiet'): | |
|
413 | ui.warn(_('warning: %s\n') % msg) | |
|
414 | 414 | return text |
|
415 | 415 | |
|
416 | 416 | name_a = local |
@@ -423,9 +423,12 b' def simplemerge(ui, local, base, other, ' | |||
|
423 | 423 | if labels: |
|
424 | 424 | raise util.Abort(_("can only specify two labels.")) |
|
425 | 425 | |
|
426 | try: | |
|
426 | 427 | localtext = readfile(local) |
|
427 | 428 | basetext = readfile(base) |
|
428 | 429 | othertext = readfile(other) |
|
430 | except util.Abort: | |
|
431 | return 1 | |
|
429 | 432 | |
|
430 | 433 | local = os.path.realpath(local) |
|
431 | 434 | if not opts.get('print'): |
General Comments 0
You need to be logged in to leave comments.
Login now