mercurial/fileset.py
changeset 32134 4240be02df79
parent 31697 992882cef7e1
child 32291 bd872f64a8ba
--- a/mercurial/fileset.py	Wed May 03 14:07:14 2017 -0700
+++ b/mercurial/fileset.py	Wed May 03 18:02:00 2017 -0700
@@ -256,7 +256,7 @@
     """
     # i18n: "binary" is a keyword
     getargs(x, 0, 0, _("binary takes no arguments"))
-    return [f for f in mctx.existing() if util.binary(mctx.ctx[f].data())]
+    return [f for f in mctx.existing() if mctx.ctx[f].isbinary()]
 
 @predicate('exec()', callexisting=True)
 def exec_(mctx, x):