I have created an exe file that will print to console the first and second arguments that it receives.
In the SVN post-commit hook I wrote:
PATH_TO_FILE\print.exe "%1" "%2"
when I make a check-in, it gets stuck.
%1 is the PATH
%2 is revision number
EDIT
The answer to my question is that the executable file should be in the "bin" directory of the SVN Server, not in the hooks folder of the repository.
Thank you all, Oded.
Print takes a filename to put on the printer. You are supplying a directory i assume of your description. Try writing something to a file.
echo "%1" "%2" > c:\temp\log.txt
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With