Show More
@@ -428,6 +428,8 b' class uihunk(patchnode):' | |||
|
428 | 428 | def filterpatch(ui, chunks, chunkselector, operation=None): |
|
429 | 429 | """interactively filter patch chunks into applied-only chunks""" |
|
430 | 430 | |
|
431 | if operation is None: | |
|
432 | operation = _('confirm') | |
|
431 | 433 | chunks = list(chunks) |
|
432 | 434 | # convert chunks list into structure suitable for displaying/modifying |
|
433 | 435 | # with curses. create a list of headers only. |
@@ -950,6 +950,8 b' class recordhunk(object):' | |||
|
950 | 950 | |
|
951 | 951 | def filterpatch(ui, headers, operation=None): |
|
952 | 952 | """Interactively filter patch chunks into applied-only chunks""" |
|
953 | if operation is None: | |
|
954 | operation = _('record') | |
|
953 | 955 | |
|
954 | 956 | def prompt(skipfile, skipall, query, chunk): |
|
955 | 957 | """prompt query, and process base inputs |
General Comments 0
You need to be logged in to leave comments.
Login now