| delorie.com/archives/browse.cgi | search |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| X-SWARE-Spam-Status: | No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,TW_SV,T_RP_MATCHES_RCVD |
| X-Spam-Check-By: | sourceware.org |
| From: | Adam Dinwoodie <Adam DOT Dinwoodie AT metaswitch DOT com> |
| To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
| CC: | Jochen Wiedmann <jochen DOT wiedmann AT softwareag DOT com> |
| Subject: | RE: CygWin SVN should identify as CygWin |
| Date: | Tue, 7 Aug 2012 11:15:29 +0000 |
| Deferred-Delivery: | Tue, 7 Aug 2012 11:15:00 +0000 |
| Message-ID: | <CE9C056E12502146A72FD81290379E9A43657CCF@ENFIRHMBX1.datcon.co.uk> |
| References: | <5020CEC7 DOT 3010703 AT softwareag DOT com> <5020E3CB DOT 8070609 AT gmail DOT com> <5020E425 DOT 9080706 AT softwareag DOT com> <1975516369 DOT 20120807142759 AT mtu-net DOT ru> <5020EFDE DOT 3090305 AT softwareag DOT com> |
| In-Reply-To: | <5020EFDE.3090305@softwareag.com> |
| Reply-To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
| MIME-Version: | 1.0 |
| X-IsSubscribed: | yes |
| 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 |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id q77BFpjg011280 |
Jochen Wiedmann wrote:
>I didn't say, it behaves wrong. My point is that I need to know that I
>am using it, and not another svn, if all I know is "there's a svn binary
>in my path".
This isn't Subversion's responsibility; the problem is more general: how do you
tell if the version of awk, sed or vim are Cygwin ones or not (or ones compiled
containing a specific patch, or built on a particular day, or any other of a
myriad of different things that could make a difference to an executable's
behaviour)?
The general problem has a general solution: check your path and actually
determine which executable you're using. As marco pointed out, use `which` from
a Cygwin shell; from a Windows cmd shell the equivalent command is `where`:
C:\>where svn
C:\Program Files\CollabNet\Subversion Client\svn.exe
C:\Program Files\TortoiseSVN\bin\svn.exe
PS: Please don't reply directly to me; I'm already on the mailing list and
don't need a second copy. The same goes for everyone else who's replying to
you, particularly if their Reply-To is the mailing list, unless they explicitly
request otherwise, per <http://cygwin.com/problems.html>.
I'm Cc'ing you explicitly as it's not clear you're signed up to this mailing
list and will receive emails sent solely to it.
--
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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |