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.




Asynchronous execution of SVN Connector

add-ons
source-control

This is not a question, but I just wanted to share something that other people might be interested in. I got the SVN connector solution working, but there were some complaints that the commits were taking too long now. To solve this, I implemented an intermediate script which essentially executes the Gemini-SVN application asynchronously.

Here's the new "post-commit.cmd" code:

set REPOSITORYFOLDER=%1
wscript %REPOSITORYFOLDER%\hooks\gemini.vbs %1 %2

And here's my "gemini.vbs" script:

Dim WshShell
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run(WScript.Arguments(0) & "\hooks\CounterSoft.Gemini.SourceControl.SVN.exe post-commit " & WScript.Arguments(0) & " " & WScript.Arguments(1))

That's it. It's a simple solution, but it definitely improves the user experience by not making the user wait for the Gemini-SVN connector app to complete execution. The SVN commit now completes in the same amount of time as before.

Thanks.

-Dan

User57545
· 1
User57545
Replies (0)