Show More
@@ -419,7 +419,7 b' class uihunk(patchnode):' | |||
|
419 | 419 | def __repr__(self): |
|
420 | 420 | return '<hunk %r@%d>' % (self.filename(), self.fromline) |
|
421 | 421 | |
|
422 |
def filterpatch(ui, chunks, chunk |
|
|
422 | def filterpatch(ui, chunks, chunkselector): | |
|
423 | 423 | """interactively filter patch chunks into applied-only chunks""" |
|
424 | 424 | |
|
425 | 425 | chunks = list(chunks) |
@@ -433,7 +433,7 b' def filterpatch(ui, chunks, chunk_select' | |||
|
433 | 433 | uiheaders = [uiheader(h) for h in headers] |
|
434 | 434 | # let user choose headers/hunks/lines, and mark their applied flags |
|
435 | 435 | # accordingly |
|
436 |
chunk |
|
|
436 | chunkselector(uiheaders, ui) | |
|
437 | 437 | appliedhunklist = [] |
|
438 | 438 | for hdr in uiheaders: |
|
439 | 439 | if (hdr.applied and |
General Comments 0
You need to be logged in to leave comments.
Login now