author | Jun Wu <quark@fb.com> |
Wed, 03 May 2017 18:03:38 -0700 | |
changeset 32135 | 347ab2d47463 |
parent 32134 | 4240be02df79 |
child 32136 | f238a483a1fd |
--- a/mercurial/commands.py Wed May 03 18:02:00 2017 -0700 +++ b/mercurial/commands.py Wed May 03 18:03:38 2017 -0700 @@ -452,7 +452,7 @@ whitespace=True) for abs in ctx.walk(m): fctx = ctx[abs] - if not opts.get('text') and util.binary(fctx.data()): + if not opts.get('text') and fctx.isbinary(): fm.plain(_("%s: binary file\n") % ((pats and m.rel(abs)) or abs)) continue