[Lazarus] Line Endings

Luca Olivetti luca at wetron.es
Tue Jan 5 09:48:33 CET 2010


En/na Benito van der Zander ha escrit:
> 
>> Regarding hg, did you remove the "working copies" (hg up null) and
>> restored later or not?
>>   
> No, but I'm not sure if that would help, since the files in the repository
> are crlf, so a re-update will probably not change anything (i don't want 
> to try it, as long as
> i have uncommited local changes)

Mmh, that's bad, anyway I use this in my mercurial.ini under windows:

[extensions]
hgext.win32text=
[encode]
**.pas = dumbencode:
**.pp = dumbencode:
**.lpr = dumbencode:
**.lfm = dumbencode:
**.lpi = dumbencode:
**.lpk = dumbencode:
**.inc = dumbencode:
**.txt = dumbencode:
**.dof = dumbencode:
**.dpr = dumbencode:
[decode]
**.pas = dumbdecode:
**.pp = dumbdecode:
**.lpr = dumbdecode:
**.lfm = dumbdecode:
**.lpi = dumbdecode:
**.lpk = dumbdecode:
**.inc = dumbdecode:
**.txt = dumbdecode:
**.dof = dumbdecode:
**.dpr = dumbdecode:


But that keeps files in the repository with unix line ending, it just 
converts from/to crlf under windows.

Bye
-- 
Luca Olivetti
Wetron Automatización S.A. http://www.wetron.es/
Tel. +34 93 5883004 (Ext.133)  Fax +34 93 5883007



More information about the Lazarus mailing list