X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_YG,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 10 Feb 2011 12:54:05 +0100 Message-ID: Subject: Re: How to detect CygWin SVN? From: Jochen Wiedmann To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Wed, Feb 9, 2011 at 10:57 PM, Csaba Raduly wrote: > Question is, why do you think you need to detect it ? Assuming that I'd like to use the -f option of SVN (commit a list of files, which are present in the file given by -f), the contents of the file in question are quite different for CygWin SVN (/cygdrive/c/...) and a native SVN. (C:\...) > How about this: > cygcheck `which svn` | grep cygwin1.dll That's another solution that works excellent, if I know that CygWin is present ... which I don't. -- I Am What I Am And That's All What I Yam (Popeye) -- 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