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

Re: [TSVN] SVN bug report

From: SteveKing <stefankueng_at_gmail.com>
Date: 2005-01-13 15:01:28 CET

On Thu, 13 Jan 2005 14:35:52 +0100, Kovács Tibor <ktib@dsr.hu> wrote:

> I did:
> TortoiseProc.exe /command:update /path:"c:\src\p5\common" /notempfile
>
> I wanted to happen:
> Make an update, and finally exit whit a code, which represents the success
> of procdure.
> For example if success: 0, if error: any other
>
> Actually happened:
> Always gives back 0, so I can't automate update process from a batch file.

Actually, TSVN doesn't return 0 (success) but always -1 (error). Even
if the command executed successfully.
If you really need return values about Subversion commands, you have
to use the command line client. TSVN doesn't use those return codes at
all.
(Sorry)

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Jan 13 15:02:32 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.