This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin svn vs. TortoiseSVN?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]