diff mercurial/cmdutil.py @ 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 66b162fa3ffa
children bb77654dc7ae
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)