revert: pass operation to crecord
authorJun Wu <quark@fb.com>
Wed, 23 Nov 2016 19:03:24 +0000
changeset 30534 c01033fb9864
parent 30533 40fe96fc7cd2
child 30535 3899c358b45a
revert: pass operation to crecord So crecord would know what to display
mercurial/cmdutil.py
--- a/mercurial/cmdutil.py	Wed Nov 23 19:22:36 2016 +0000
+++ b/mercurial/cmdutil.py	Wed Nov 23 19:03:24 2016 +0000
@@ -85,7 +85,7 @@
         else:
             recordfn = crecordmod.chunkselector
 
-        return crecordmod.filterpatch(ui, originalhunks, recordfn)
+        return crecordmod.filterpatch(ui, originalhunks, recordfn, operation)
 
     else:
         return patch.filterpatch(ui, originalhunks, operation)