On Monday 05 December 2005 14:23, oggie rob wrote:
> Hi all,
> I'm a little embarrased to ask...
> I  am working off Win2K, and any time I open a file with notepad (which
> doesn't convert line endings) I'm looking at a *nix file. Also any
> change I make to my local copy results in full-file diffs. Is it
> possible that some (read: all, or almost all) files in the SVN
> repository need to have the eol-style property set?

Yes, or use a different editor. :-)  I highly recommend vim or emacs.  Both 
will work fine with Unix style line endings.

> It has been hard to figure this out (me being new to SVN and all), but
> from what I understand, these should be "figured out" when I talk to
> the server but only if the eol-style is set correctly.
>
> Am I off the mark here?

You're absolutely correct.  Subversion will not touch the line endings unless 
you tell it to.  It errors on the side of preserving file contents, hence the 
reason you need set the svn:eol-style property to change the line ending 
style.

-John

Reply via email to