You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by my...@nycap.rr.com on 2005/01/10 16:29:52 UTC
End of line characters issue for Win32 and Linux baselines
I have a subversion server set up such that I check out files on a linux machine and on a windows machine. I'm running into issues with line breaks and carriage returns. If I change something on windows then the whole file shows up as a difference because of the end of line characters. Is there any way of "ignoring whitespace" such as this so the end of line characters remain consistent?
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: End of line characters issue for Win32 and Linux baselines
Posted by Martin Tomes <li...@tomes.org>.
myaconis@nycap.rr.com wrote:
> I have a subversion server set up such that I check out files on a
> linux machine and on a windows machine. I'm running into issues with
> line breaks and carriage returns. If I change something on windows
> then the whole file shows up as a difference because of the end of
> line characters. Is there any way of "ignoring whitespace" such as
> this so the end of line characters remain consistent?
Set the svn:eol-style property on each text file:
http://svnbook.red-bean.com/en/1.1/ch07s02.html#svn-ch-7-sect-2.3.5
--
Martin Tomes
echo 'martin at tomes x org x uk'\
| sed -e 's/ x /\./g' -e 's/ at /@/'
The Subversion Wiki is at http://www.subversionary.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: End of line characters issue for Win32 and Linux baselines
Posted by Ryan Schmidt <su...@ryandesign.com>.
On 10.01.2005, at 17:29, myaconis@nycap.rr.com wrote:
> I have a subversion server set up such that I check out files on a
> linux machine and on a windows machine. I'm running into issues with
> line breaks and carriage returns. If I change something on windows
> then the whole file shows up as a difference because of the end of
> line characters. Is there any way of "ignoring whitespace" such as
> this so the end of line characters remain consistent?
Wouldn't it be better to decide on a line ending style to be used for
the project, and stick to it on all platforms? for example, instruct
your Windows text editor to use Unix linefeeds?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org