mercurial/patch.py
changeset 25359 724421cb4745
parent 25310 c1f5ef76d1c2
child 25424 69609f43c752
--- a/mercurial/patch.py	Thu May 28 16:41:47 2015 -0700
+++ b/mercurial/patch.py	Wed May 27 15:56:10 2015 -0700
@@ -950,6 +950,8 @@
 
 def filterpatch(ui, headers, operation=None):
     """Interactively filter patch chunks into applied-only chunks"""
+    if operation is None:
+        operation = _('record')
 
     def prompt(skipfile, skipall, query, chunk):
         """prompt query, and process base inputs