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

Find SVN repository path

From: Durrani [Gmail] <durrani.ma_at_gmail.com>
Date: 2007-12-12 11:04:46 CET

Hi,

I am writing installer for an application.

I am also bundling out svn along with our application installer.

For this I need to know what is the svn repository path in the target
machine, if SVN is already installed there, so that I can use the same
repository path for my application.

Please let me know how can i find that.

If i run svnservice -debug i get the following as o/p

E:\PROGRA~1\SUBVER~1\bin>svnservice -debug
Debugging SVNService.
Setting working directory: E:\PROGRA~1\SUBVER~1\bin\
RegQueryValueEx failed with error 0, type 1
Running command: "E:\PROGRA~1\SUBVER~1\bin\svnserve.exe" "--daemon" "--root"
"E:\svnrepos"

I need to get "E:\svnrepos" without using the above command... since this
command does not terminate by itself, i can't execute this in my application
installer.

Also "sc qc svnservice" does not help either

E:\Program Files\Subversion\bin>sc qc svnservice
[SC] GetServiceConfig SUCCESS

SERVICE_NAME: svnservice
        TYPE : 10 WIN32_OWN_PROCESS
        START_TYPE : 3 DEMAND_START
        ERROR_CONTROL : 1 NORMAL
        BINARY_PATH_NAME : E:\PROGRA~1\SUBVER~1\bin\SvnService.exe
        LOAD_ORDER_GROUP :
        TAG : 0
        DISPLAY_NAME : SVNService
        DEPENDENCIES :
        SERVICE_START_NAME : LocalSystem

Thanks in advance.

Regards
Durrani

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 12 11:01:30 2007

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.