Mercurial > hg
comparison mercurial/fileset.py @ 14830:35f5cfdd0427 stable
fileset: fix typo in binary() doc
author | Idan Kamara <idankk86@gmail.com> |
---|---|
date | Mon, 04 Jul 2011 14:36:16 +0300 |
parents | 0f0bd4d028d3 |
children | 042e84e39dee |
comparison
equal
deleted
inserted
replaced
14829:968c301a1005 | 14830:35f5cfdd0427 |
---|---|
193 raise error.ParseError(err) | 193 raise error.ParseError(err) |
194 return l | 194 return l |
195 | 195 |
196 def binary(mctx, x): | 196 def binary(mctx, x): |
197 """``binary()`` | 197 """``binary()`` |
198 File that appears to be binary (contails NUL bytes). | 198 File that appears to be binary (contains NUL bytes). |
199 """ | 199 """ |
200 # i18n: "binary" is a keyword | 200 # i18n: "binary" is a keyword |
201 getargs(x, 0, 0, _("binary takes no arguments")) | 201 getargs(x, 0, 0, _("binary takes no arguments")) |
202 return [f for f in mctx.subset if util.binary(mctx.ctx[f].data())] | 202 return [f for f in mctx.subset if util.binary(mctx.ctx[f].data())] |
203 | 203 |