Re: Subversion problem



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
.



Relevant Pages

  • Re: I Canīt do it with Java,I canīt do it with C#.
    ... For GUI Building, unless you REALLY KNOW JAVA, I would not do it in Eclipse. ... ties directly to native widgetset APIs (ie Windows APIs, GTK+ APIs, etc). ... article is, but Linux developers are not embracing Mono, primarily due to ...
    (borland.public.delphi.non-technical)
  • Re: Visual C++ 6 support issue
    ... It is worth noting that Eclipse is developing a C/C++ version. ... >perspective to another the user can quickly change the set of windows ... >hold such edit controls resizable, and have the controls grow with the ...
    (microsoft.public.vc.mfc)
  • Subversion problem
    ... Since most of us work in Windows using Eclipse, ... Eclipse has the line ending setting, but setting it only applies to new files, not existing repository files. ... I'm going through the red book right now, but don't see anything, so if anyone has any answers, please let me know. ...
    (comp.os.linux.misc)
  • Re: C# oder C++?
    ... die mir durch eine gute GUI ... Aber schau Dir Eclipse an. ... Mac und Linux native Steuerelemente ... Entweder Klicki-Bunti mit Nachdenken oder Klick-Bunti nur für Windows. ...
    (microsoft.public.de.german.entwickler.dotnet.csharp)
  • Re: PowerPC, uCOS-II, GCC port
    ... Eclipse on Windows XP; language is C. ... layer with GCC; it seems less happy with Cygwin although I would ... MinGW if we can. ...
    (comp.arch.embedded)