This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Cygwin svn vs. TortoiseSVN?
- From: Jan Nijtmans <jan dot nijtmans at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 19 Mar 2015 12:55:09 +0100
- Subject: Re: Cygwin svn vs. TortoiseSVN?
- Authentication-results: sourceware.org; auth=none
- References: <5509C7DB dot 4040708 at tiscali dot co dot uk> <CAEhDDbCH2-0LB+yQK+F3HJ6Wg73wyrrub9nWfSSxx_Lrk=aQ=w at mail dot gmail dot com>
2015-03-19 10:55 GMT+01:00 Csaba Raduly <rcsaba@gmail.com>:
> Using both Cygwin svn and TortoiseSVN on the same repo is problematic.
> Even if you don't run into locking problems, the "native" line-ending
> differs (Cygwin's svn uses LF, TortoiseSVN uses CR LF). I've had these
> problems in the past :(
Me too, but it is very well workable with the following two measures:
- Change the svn "config" and "servers" files to being hyperlinks to
the windows version of those file. For example:
$ pwd
/home/nijtmaj/.subversion
$ ls -la
total 14
drwxr-xr-x+ 1 nijtmaj None 0 Mar 19 12:20 .
drwxr-xr-x+ 1 nijtmaj None 0 Mar 3 17:12 ..
drwx------+ 1 nijtmaj None 0 Nov 14 2013 auth
lrwxrwxrwx 1 nijtmaj None 59 Mar 19 12:20 config ->
/cygdrive/c/Users/nijtmaj/AppData/Roaming/Subversion/config
-rw-r--r-- 1 nijtmaj None 4276 Nov 14 2013 README.txt
lrwxrwxrwx 1 nijtmaj None 60 Mar 13 2014 servers ->
/cygdrive/c/Users/nijtmaj/AppData/Roaming/Subversion/servers
This way, the settings for cygwin and win32 are always consistant.
(maybe it works for the "auth" directory as well, didn't try/need that)
- Never user svn:eo-style=native, always either svn:eo-style=LF or
svn:eo-style=CRLF
This way, it works very well for me.
Regards,
Jan Nijtmans
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple