delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/03/19/07:55:29

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; q=dns; s=default; b=SH
CrtNCJhIacTH2kYeH5jLPc2ep4VJxSpJmFgiW0cl0C8GM7pelNMT1SvSl31zL7Y8
MiyHNZkAHWFamSX2Rfxd0TWvLIsfiE6UkTN7lxW3UYSuQIg2LKBl6sdOuhNlFojZ
A03JA+peyTRSwGWkyt8Vua6HhMiylDPjywdVNRFVg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:date
:message-id:subject:from:to:content-type; s=default; bh=O9B7Gb6q
igj7OtTL6VTNjlM+oRA=; b=mJhrnoZqRfCB+HJ5b7A342IhLT8DQ6dv+gbS9ixq
kgHMhDUq8WWGWSf3E8B4WJIPl+w6vBMsiDbsBVXUvhVNSp+Ts3wGYjEg5gJmWA8I
EPlNAP1nxU7RVE5ys9lwVBbizee+VO2bubNLsT/8YwCy6zGDtfIGTajPcNSBebB5
VSc=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2
X-HELO: mail-la0-f44.google.com
MIME-Version: 1.0
X-Received: by 10.152.219.2 with SMTP id pk2mr67533830lac.107.1426766109312; Thu, 19 Mar 2015 04:55:09 -0700 (PDT)
In-Reply-To: <CAEhDDbCH2-0LB+yQK+F3HJ6Wg73wyrrub9nWfSSxx_Lrk=aQ=w@mail.gmail.com>
References: <5509C7DB DOT 4040708 AT tiscali DOT co DOT uk> <CAEhDDbCH2-0LB+yQK+F3HJ6Wg73wyrrub9nWfSSxx_Lrk=aQ=w AT mail DOT gmail DOT com>
Date: Thu, 19 Mar 2015 12:55:09 +0100
Message-ID: <CAO1jNwsAs68+eEWFJR-ULBDoc=Cc=pmM+6Kh+uiZMHBNw5fpzg@mail.gmail.com>
Subject: Re: Cygwin svn vs. TortoiseSVN?
From: Jan Nijtmans <jan DOT nijtmans AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

2015-03-19 10:55 GMT+01:00 Csaba Raduly <rcsaba AT gmail DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019