##// END OF EJS Templates
fileset: use fctx.isbinary instead of util.binary(fctx.data())...
Jun Wu -
r32134:4240be02 default
parent child Browse files
Show More
@@ -256,7 +256,7 b' def binary(mctx, x):'
256 """
256 """
257 # i18n: "binary" is a keyword
257 # i18n: "binary" is a keyword
258 getargs(x, 0, 0, _("binary takes no arguments"))
258 getargs(x, 0, 0, _("binary takes no arguments"))
259 return [f for f in mctx.existing() if util.binary(mctx.ctx[f].data())]
259 return [f for f in mctx.existing() if mctx.ctx[f].isbinary()]
260
260
261 @predicate('exec()', callexisting=True)
261 @predicate('exec()', callexisting=True)
262 def exec_(mctx, x):
262 def exec_(mctx, x):
General Comments 0
You need to be logged in to leave comments. Login now