You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "David Conley (FRD)" <dc...@frd.co.uk> on 2007/03/21 08:46:15 UTC

SVN Commit result

Does svn commit return a result to the shell? I have a script that needs 
to check if svn commit succeeded before continuing.
Thanks

-- 
Dave Conley

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN Commit result

Posted by Ashutosh Mohanty <as...@syncad.com>.
Hi,

Yes, It return the status to the shell,you can catch through a script as for
example
       my $returncode = $?;
        if ($returncode ne 0 )
      .............your stuffs
This was a sample form a Perl-script. dont know whether you are asking for
the same or anything else!!

Regards,
Ashutosh

----- Original Message ----- 
From: "David Conley (FRD)" <dc...@frd.co.uk>
To: <us...@subversion.tigris.org>
Sent: Wednesday, March 21, 2007 2:16 PM
Subject: SVN Commit result


> Does svn commit return a result to the shell? I have a script that needs
> to check if svn commit succeeded before continuing.
> Thanks
>
> -- 
> Dave Conley
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org