Show More
@@ -344,10 +344,10 b' def filterpatch(ui, chunks):' | |||||
344 | # new hunk |
|
344 | # new hunk | |
345 | if resp_file[0] is None and resp_all[0] is None: |
|
345 | if resp_file[0] is None and resp_all[0] is None: | |
346 | chunk.pretty(ui) |
|
346 | chunk.pretty(ui) | |
347 | r = total == 1 and prompt(_('record this change to %r?') % |
|
347 | r = (total == 1 | |
348 |
|
|
348 | and prompt(_('record this change to %r?') % chunk.filename()) | |
349 |
|
|
349 | or prompt(_('record change %d/%d to %r?') % | |
350 |
|
|
350 | (pos, total, chunk.filename()))) | |
351 | if r: |
|
351 | if r: | |
352 | if fixoffset: |
|
352 | if fixoffset: | |
353 | chunk = copy.copy(chunk) |
|
353 | chunk = copy.copy(chunk) |
General Comments 0
You need to be logged in to leave comments.
Login now