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

Re: catch svn error code in windows bat script file

From: Andy Levy <andy.levy_at_gmail.com>
Date: Thu, 21 Jan 2010 11:09:00 -0500

On Thu, Jan 21, 2010 at 10:38, fabrice91 <fabrice91_at_free.fr> wrote:
> Hi,
> I'm using svn for Windows XP and I run the "svn.exe update" command through
> a bat script.
> But I dont find how to catch an error if the svn server is down or if there
> is a conflict problem in order to report this error to an admninistrator.
> Thanks

ERRORLEVEL should contain the exit status of the previous command. See
http://www.robvanderwoude.com/errorlevel.php

You should also be able to parse the output of the svn.exe command.
Received on 2010-01-21 17:09:38 CET

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