Content filter sample: eol plugin
Ian Clatworthy
ian.clatworthy at internode.on.net
Mon May 19 00:48:29 BST 2008
Talden wrote:
>> ====== ======================= ========================================
>> Value Commit newlines as On checkout, convert newlines to
>> ====== ======================= ========================================
>> exact exactly as in file No conversion
>> ------ ----------------------- ----------------------------------------
>> native lf crlf on Windows, otherwise lf
>> ------ ----------------------- ----------------------------------------
>> dos crlf crlf on Windows, otherwise lf
>> ====== ======================= ========================================
>
> So how do I force *.sh to LF when checked out on a Windows machine (IE
> to include those files in an multi-platform installation image).
> Similarly, how do I force *.bat to CRLF when checked out on a linux
> box (for the same reason as for .sh).
[*.sh]
eol = exact
[*.bat]
eol = exact
Ian C.
More information about the bazaar
mailing list