pre-commit.bat with return message
From: Andreas Guther <Andreas.Guther_at_markettools.com>
Date: 2006-04-05 05:46:09 CEST
Hi:
I am working on getting a pre-commit.bat (Windows; not other choice) to return a message to the user in case of error.
I just want to check that the user enters a comment and in case one is missing I want to give an error message back.
Unfortunately I am not able to find a way to accomplish that. I am not sure if this is a dos command problem or a subversion communicating with dos problem.
My dos batch script looks as follows:
[... path settings ommited...]
The output I get is the following:
commit -m "" C:/workspace/test-project-003/README.txt
The "error output" is empty!
I found the following email on the issue which provides a solution for Linux/Unix. Following the example the echo should have the same result, shouldn't it?
Any idea what is missing?
Thanks in advance for any help
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.