equal
deleted
inserted
replaced
948 def __repr__(self): |
948 def __repr__(self): |
949 return '<hunk %r@%d>' % (self.filename(), self.fromline) |
949 return '<hunk %r@%d>' % (self.filename(), self.fromline) |
950 |
950 |
951 def filterpatch(ui, headers, operation=None): |
951 def filterpatch(ui, headers, operation=None): |
952 """Interactively filter patch chunks into applied-only chunks""" |
952 """Interactively filter patch chunks into applied-only chunks""" |
|
953 if operation is None: |
|
954 operation = _('record') |
953 |
955 |
954 def prompt(skipfile, skipall, query, chunk): |
956 def prompt(skipfile, skipall, query, chunk): |
955 """prompt query, and process base inputs |
957 """prompt query, and process base inputs |
956 |
958 |
957 - y/n for the rest of file |
959 - y/n for the rest of file |