1

With Visual SVN Server on Tab hooks list post-commit

I added a filename with full path in this window, but if I do a commit, parameters are not sent to my executable. What's wrong here?

1 Answer 1

1

Ok, I found it myself:

It's not enough to insert the path to executeable in this multiline box. This box edits the batch-file directly, which will be executed, so the params %1 , %2 must be added here.

Adding %* helped. In case spaces are used in path, this is fine for me:

"c:\...mypath...\myFile.bat" "%1" %2 

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.