TortoiseSVN: Pre-commit Hook fails
From: Tor J. Johannessen <tjj_at_computas.com>
Date: Fri, 12 Nov 2010 07:02:23 -0800 (PST)
TortoiseSVN 1.6.11, Build 20210
A one line batch file with the following content is called from the hook (Command Line To Execute):
I.e. it is running Ant with the target pmd.newAndChanged.
This works perfectly well when called from the Start Commit Hook, but when called from the Pre-commit Hook, it fails with the following informative message:
When removing "call" from the batch file, the script is not failing, but then Ant is never called...
(To make this batch file work for the Start Commit Hook, the "call" command is necessary, otherwise the return code from ant is not propagated to Tortoise - due to the fact that ant.bat is called)
Any idea of what is wrong?
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
|
This is an archived mail posted to the TortoiseSVN Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.