EOL: patch.eol=auto setting

Martin Geisler mg at lazybytes.net
Mon Dec 21 11:53:47 CST 2009


alexrayne <alexraynepe196 at lavabit.com> writes:

> Ok, i commit my .hgeol and found that it works now. IMHO, this shoul
> be noted with a big LETTERS about .hgeol should be commited for
> activity.

See the big letters here:

  http://bitbucket.org/mg/hg-eol/src/tip/eol.py#cl-106

and in the TODO list here:

  http://mercurial.selenic.com/wiki/EOLTranslationPlan#TODO

In other words: we're not done :-) Please read the TODO list carefully.

> Now file 1.pas with CRLF normaly compares with repository wich have LF
> format, and of cource it works just as say before - files that no need
> to be converted compares incorrectly: file 2.pas that have CRLF
> incorrect compared with repository because one have CRLF comited too.

What do you mean when you say 'file 1.pas with CRLF normaly compares
with repository wich have LF format'?

> to correctly compare them 2.pas shouldnt be converted, or must be
> converted to CRLF, but .hgeol settings is not enough to decide what
> convertion must be done. it can be acheved only from checking
> reporitory version.
>
> and of cource now hg works slowly, do you convert files one by one or
> create list of files and convert them at one call? IMHO, if it is
> expencive - recognise and check consistency of lineends, this info can
> be stored somwhere in maifests or hidden cache-file.

The filters are used whenever affected files are read or written from
disk. Same as the win32text extension.

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20091221/a17f554a/attachment.pgp>


More information about the Mercurial-devel mailing list