Content filter sample: eol plugin
Vincent Ladeuil
v.ladeuil+lp at free.fr
Mon May 19 17:46:33 BST 2008
>>>>> "martin" == Martin Pool <mbp at canonical.com> writes:
<snip/>
martin> It seems to me what we want is
martin> exact -- no changes; default
martin> native -- produce whatever is the normal convention for the platform
martin> where the checkout was made; internally always stored with just lfs --
martin> this is suitable for files in cross-platform projects that will work
martin> with either linending
martin> cr -- should always have cr
martin> lf -- suitable for eg unix shell scripts that will be broken by
martin> carriage returns
martin> crlf -- suitable for dos batch files that need carriage returns
+1
martin> I can see room for another option that says what to do if the working
martin> copy is not as expected, or if it has mixed line endings - it could
martin> either do nothing, warn, or error.
Or fix !
Vincent
More information about the bazaar
mailing list