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

Re: [TSVN] Bug: Hook script output not captured

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-08-16 21:32:07 CEST

Valik wrote:
> Using TortoiseSVN 1.2.1, Build 4168, the stderr stream is not captured
> when a pre-commit (And possibly other) hook script fails. For example,
> take the following batch file:
>
> REM Start Batch
> echo Forced failure >&2
> exit 1
> REM End Batch
>
> With that set up as a pre-commit hook, TSVN will (correctly) fail, but
> the string "Forced failure" is not displayed. This is all the output I
> get from the commit dialog using the above batch file:
>
> Modified: Test WC\New Text Document.txt Sending Content: C:\Test WC\New
> Text Document.txt Error: Commit failed (details follow):
> I tried the same thing with Subversion command-line client, version
> 1.2.1 and get this output:
>
> C:\>svn commit "Test WC" -m "Message"
> Sending Test WC\New Text Document.txt
> Transmitting file data .svn: Commit failed (details follow):
> svn: 'pre-commit' hook failed with error output:
> Forced failure

Thanks for the report.
Fixed in revision 4177.

(But don't look at the revision diff - I'd be embarassed!)

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 Tue Aug 16 21:32:41 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.