Mercurial > public > mercurial-scm > hg
comparison mercurial/fileset.py @ 28056:4f8ced23345e stable
fileset: fix copy/paste in eol() error message
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Thu, 18 Feb 2016 22:32:18 -0500 |
parents | 737ffdabbde9 |
children | 4eb5496c2bd4 |
comparison
equal
deleted
inserted
replaced
28041:8da94662afe5 | 28056:4f8ced23345e |
---|---|
433 """File contains newlines of the given style (dos, unix, mac). Binary | 433 """File contains newlines of the given style (dos, unix, mac). Binary |
434 files are excluded, files with mixed line endings match multiple | 434 files are excluded, files with mixed line endings match multiple |
435 styles. | 435 styles. |
436 """ | 436 """ |
437 | 437 |
438 # i18n: "encoding" is a keyword | 438 # i18n: "eol" is a keyword |
439 enc = getstring(x, _("encoding requires an encoding name")) | 439 enc = getstring(x, _("eol requires a style name")) |
440 | 440 |
441 s = [] | 441 s = [] |
442 for f in mctx.existing(): | 442 for f in mctx.existing(): |
443 d = mctx.ctx[f].data() | 443 d = mctx.ctx[f].data() |
444 if util.binary(d): | 444 if util.binary(d): |