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.
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:
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.
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.
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
BTW: Killing svn.exe rather the IDE is a good alternative. AgentSVN fails gracefully then. - Thanks for that.
You can set the http-timeout in the snv config file
Code: Select all