Agent SVN Version 2.47
If I click the "List..."-button in the "Project Binding Details"-Dialog and the SVN-server specified in the "AUX Path" is not available AgentSVN will hang forever (> 5minutes). Only way out is, to use Windows Task Manager to terminate the application.
Project Binding Details - "List..."-command hangs forever if server unreachable
Re: Project Binding Details - "List..."-command hangs forever if server unreachable
It sounds like the Subversion repository location in the configuration dialog has not been correctly defined and is timing out.
The List button found on this binding dialog will list the files/folders of the currently configure Subversion repository.

The AUX Path button should display the configuration dialog shown below.
The currently configured repository is defined in the Configuration dialog show below. The Subversion repository is location is defined at the bottom of that dialog:

Cheers Jussi
The List button found on this binding dialog will list the files/folders of the currently configure Subversion repository.

The AUX Path button should display the configuration dialog shown below.
The currently configured repository is defined in the Configuration dialog show below. The Subversion repository is location is defined at the bottom of that dialog:

Cheers Jussi
Re: Project Binding Details - "List..."-command hangs forever if server unreachable
The AUXPath is entered correctly but the remote SVN server was unreachable due to network issues.
The problem here is that AgentSVN is not timing out. The connection attempt should be aborted after some 30 seconds and there should be a Message saying "Cannot reach repository sever". - But that does not happen. AgentSVN just hangs forever. And with it the whole IDE. So the only remedy to that is, terminating the IDE with Windows Task Manager. This might cause the loss of unsaved work.
BTW: The "Notify me when a reply is posted" on this forums seems to be not working.
The problem here is that AgentSVN is not timing out. The connection attempt should be aborted after some 30 seconds and there should be a Message saying "Cannot reach repository sever". - But that does not happen. AgentSVN just hangs forever. And with it the whole IDE. So the only remedy to that is, terminating the IDE with Windows Task Manager. This might cause the loss of unsaved work.
BTW: The "Notify me when a reply is posted" on this forums seems to be not working.
Re: Project Binding Details - "List..."-command hangs forever if server unreachable
Agent SVN talks to the Subversion server using the SVN client, so in fact it is the SVN client (svn.exe) that is not timing out.The problem here is that AgentSVN is not timing out.
I did a quick Google search seeing if there is a way to set the client timeout but found nothing for the client, only details for the server.
The client has an error for timeout so I suspect it would eventually time out but I don't know what that Subversion timeout value is.AgentSVN just hangs forever. And with it the whole IDE. So the only remedy to that is, terminating the IDE with Windows Task Manager.
My guess would be the official timeout is probably one or two minutes. So waiting for that time out is one option and the option I would recommend.
But failing that, I would never recommend killing the IDE for the reasons you suggest.
If waiting for the time out is not suitable then the next best option would be to kill the svn.exe client process instead.
Cheers Jussi
Re: Project Binding Details - "List..."-command hangs forever if server unreachable
OK, thanks for clarifying this.Agent SVN talks to the Subversion server using the SVN client, so in fact it is the SVN client (svn.exe) that is not timing out.
Alright, I have to correct myself. It does not hang forever. It actually times out after full 10 minutes. - That is quite close to forever in developer time.The client has an error for timeout so I suspect it would eventually time out but I don't know what that Subversion timeout value is.

A timeout value might be a sensible addition to the AgentSVN configuration.
You can add it to the svn.exe commandline like this:
Code: Select all
--config-option servers:global:http-timeout=XX
BTW: Killing svn.exe rather the IDE is a good alternative. AgentSVN fails gracefully then. - Thanks for that.
Re: Project Binding Details - "List..."-command hangs forever if server unreachable
For anyone not too familiar with svn reading this:
You can set the http-timeout in the snv config file
That does affect the timeout when invoked from AgentSVN as well. - So adding this option to the AgentSVN config is of fairly low priority.
You can set the http-timeout in the snv config file
Code: Select all
%appdata%\Subversion\servers