Show More
@@ -324,10 +324,12 b' def filterpatch(ui, headers):' | |||||
324 | for i, chunk in enumerate(h.hunks): |
|
324 | for i, chunk in enumerate(h.hunks): | |
325 | if skipfile is None and skipall is None: |
|
325 | if skipfile is None and skipall is None: | |
326 | chunk.pretty(ui) |
|
326 | chunk.pretty(ui) | |
327 |
|
|
327 | if total == 1: | |
328 |
|
|
328 | msg = _('record this change to %r?') % chunk.filename() | |
329 | or (_('record change %d/%d to %r?') % |
|
329 | else: | |
330 |
|
|
330 | idx = pos - len(h.hunks) + i | |
|
331 | msg = _('record change %d/%d to %r?') % (idx, total, | |||
|
332 | chunk.filename()) | |||
331 | r, skipfile, skipall = prompt(skipfile, skipall, msg) |
|
333 | r, skipfile, skipall = prompt(skipfile, skipall, msg) | |
332 | if r: |
|
334 | if r: | |
333 | if fixoffset: |
|
335 | if fixoffset: |
General Comments 0
You need to be logged in to leave comments.
Login now