Home Home
  login

Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




SVN integration does not generate error descriptions in client

add-ons

I've setup my SVN Integration hook app. It works fine.

The problem is when I enforce say the dev to enter an Issue ID, it enforces it fine. But when it enforces and they don't put an ID in, I get no error description for the failure.

This is what I get.

Error: Commit failed (details follow):
Error: Commit blocked by pre-commit hook (exit code 1) with no output.

Am I doing something wrong, or isn't the integration app supposed to feed the error description to the client.

irperez
· 1
irperez
Replies (3)
helpful
0
not helpful

Do you have pre-commit check set to true in the config file?

Please run DebugView and post the output. http://technet.microsoft.com/en-us/sysinternals/bb896647.aspx


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

I do have the pre-commit check set to true. And the code is definitely running through the rest of the pre-commit code.

What I did to resolve the issue temporarily was any error message was sent to Console.Error.WriteLine and that did the trick for now.

I will do another post with the DebugView stats.


irperez
· 1
irperez
helpful
0
not helpful

Your solution is the correct one! Writing to stderr is how your hook gets its message back into Tortoise or whatever SVN you're using.


Bob Denny
· 1
Bob Denny