Reputation: 598
I am using TortoiseSVN 1.9.3 and VPN connection (Windows 10 64 bits). Each time when I try to do an action (svn checkout, svn update, show log, svn commit) it stays for about 1-2 minutes (I do not wait until the end, I press the Cancel button after around 10-15 seconds normally). Then I try again the exact same action, for example, if it was a commit, I just press again the Commit button (the commit window being opened from the first attempt), and this time it works. If I do another action fast enough, it works from the first time. If I wait and do it later, I have again the issue: first time fails, second time it works.
The error I get if I let it until the end:
Commit failed (details follow):
Unable to connect to a repository at URL
'http://192.168.1.200:83/svn/project/trunk'
Connection timed out
I worked on VPN some years ago, on similar conditions (Windows 7 64 bits), so I suppose there was an older version of TortoiseSVN, and I had the same behavior.
This is very frustrating as it takes lots minutes when I need for example to check multiple files.
Do you have any idea why this happen?
Upvotes: 0
Views: 1283
Reputation: 43575
Set up a pre-commit hook script in the settings dialog, and set the connectVPN.exe
tool as the script.
The reason you get an error on the first connect is that on the first connect, your VPN isn't ready yet.
Upvotes: 2