changeset 30534:c01033fb9864

revert: pass operation to crecord So crecord would know what to display
author Jun Wu <quark@fb.com>
date Wed, 23 Nov 2016 19:03:24 +0000
parents 40fe96fc7cd2
children 3899c358b45a
files mercurial/cmdutil.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)