line endings

Nicholas Allen allen at ableton.com
Thu Jan 31 15:54:19 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
This issue has been bought up many times on this list. I think there is 
a good understanding of what needs to be done it's just a problem of 
someone having enough time/motivation to implement it. The line ending 
style needs to be a property of the file so that files with the same 
extension can have different line ending styles. Regexs could be used to 
define a default when the files are added though.. I think the proposed 
solution requires per file properties to be implemented first.

I hope someone implements this soon. I personnally am too busy and not 
familiar enough with the code base to do this. This really is a major 
feature that anyone who does cross-platform development in a team badly 
needs. Seeing as Bazaar is cross-platform (and touted as such) it makes 
it even more important than for other VCSs IMHO.

Nick

Sandy Dunlop wrote:
| On 31/01/2008, *Alexander Belchenko* <bialix at ukr.net 
<mailto:bialix at ukr.net>> wrote:
|
|     Andre Haupt пишет:
|     > On Thu, Jan 31, 2008 at 11:47:53AM +0200, Alexander Belchenko wrote:
|     >> Stuart McGraw пишет:
|     >>> Marcus Sundman wrote:
|     >>>> Stuart McGraw <smcg4191 at frii.com <mailto:smcg4191 at frii.com>> 
wrote:
|     > I really think a VCS should track the content of a file and must not
|     > change its content in whatsoever way. IMHO its not the job of a 
VCS to
|     > take care of such things like line endings.
|
|     Some people think different.
|
|
| Perhaps having a repository-level option for how line endings are 
treated for filenames matching a particular regex would be a good way to go?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFHoe8rbpmWsXfOU58RAlRtAJ9+ImJh7OF3bm3ywVGTHRugVv8sSwCcD/+y
PwF1Qz9NNzyh6pfMrHsdFqQ=
=bNo9
-----END PGP SIGNATURE-----




More information about the bazaar mailing list