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

how to get exit codes of svn commands

From: velocity <velocity.lists_at_gmail.com>
Date: 2005-03-22 10:33:34 CET

Hi. I'm making a windows script (jscript) so we can automate backups
of our subversion repository. In the process, I'm putting in checks to
validate arguments being passed. One of the checks I want to make is
if the path provided is in fact a repository.

To do this, I would like to issue the following command

svnlook uuid <path>

From this, I wanted to get the exit code of svnlook to be able to tell
if the given path is a valid repository or not. Given a valid path and
a bogus path (but exists in the directory), the exit codes are both
'0' {zero}.

What is the right way of doing this?

Appreciate any thoughts on this.

Joben

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 22 10:36:11 2005

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.