Re: Subversion problem
- From: Milan Babuskov <mbabuskov@xxxxxxxxx>
- Date: Wed, 31 Jan 2007 09:54:33 +0100
Lorenzo Thurman wrote:
We've found that at least some of us have been checking in files with the CR/LF's in place. Since most of us work in Windows using Eclipse, that makes sense. The problem is we want Unix LF's not Windows. Eclipse has the line ending setting, but setting it only applies to new files, not existing repository files. What's the best way to get all of our files into LF format? I thought about checking out the entire project and running it through dos2unix, and then checking it back in.
That should do it.
But I thought it might be smarter to check around, there might be a simpler way. Can Subversion be told to 'fix' the line feeds in a given project.
I'm not sure if it would fix it, but in any case you should set "svn:eol-style" property for all textual files. That way Windows users will automatically have CRLF, Linux users LF and Mac users CR.
--
Milan Babuskov
http://njam.sourceforge.net
.
- References:
- Subversion problem
- From: Lorenzo Thurman
- Subversion problem
- Prev by Date: Re: Top of printout is cut off
- Next by Date: Re: Whats a good way to write GUI apps
- Previous by thread: Subversion problem
- Next by thread: Problems with USB disc drives?
- Index(es):
Relevant Pages
|