On Dec 12, 2007, at 04:04, Durrani [Gmail] wrote:
> I am writing installer for an application.
>
> I am also bundling out svn along with our application installer.
Presumably your application needs to store some data in a Subversion
repository?
> 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.
A user could have any number of repositories already on their machine
in any place on disk, served over either the svn or svn+ssh or http
or https or file protocols. It might be odd to find one of these and
start using them without telling the user. Better to let the user
select which of their existing repositories to use, or let them
create a new one. I know I wouldn't want some app starting to store
data in any of my existing repositories.
---------------------------------------------------------------------
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:45:28 2007