[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Detecting root directory of repositiory

From: Nicolas Ramz <nicolas.ramz_at_gmail.com>
Date: Wed, 27 May 2015 14:12:53 +0200

Is there a way to detect that current directory is the root of SVN
repositiory by reading files into .svn directory ?

I think "svn info" could be used for that. Problem is that some machines
may not have access to "svn" command line (if using tortoise and svn is not
in command PATH for example).

In case "svn info" (or any other command line) is the only way, what would
be the proper way to do it ?

Thank you,

-- 
*Nicolas RAMZ*
*Développeur Web*
nicolas.ramz_at_gmail.com | +33 6 43 34 73 47
www.warpdesign.fr | @warpdesign <http://www.twitter.com/warpdesign_>_
<https://www.twitter.com/warpdesign_>
windowsfun.fr | @wp_fun <https://twitter.com/wp_fun>
Received on 2015-05-27 14:14:12 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.