TortoiseSVN will not connect to subversion on Windows Vista 64
The server is running Subversion version 1.5.2 (r32768).
For the past year that I have had Tortoise installed on my works Vista 64bit laptop it NEVER connected to the remote repository. However using IntelliJ IDE I can connect to the repository just fine.
At home I am running / was running up until an hour ago TortoiseSVN 1.6.10. This was working just fine for the past few months but then after some software updates to my system and rebooting something change and开发者_StackOverflow中文版 now Tortoise will not connect to the remote repository either. I updated Tortoise to 1.6.12 and still it wont work.
I'm beyond frustrated with this and could use some assistance. Nobody where I work knows how to exactly setup the connections. It's either it works or not and unfortunately for me it's not.
I went into the registry and deleted all the URL entries under the tortoise setting (yeah maybe I should not have but, damn i'm just fed up at this point.) After all I have been dealing with this on and off for a year searching for answers and trying different things I run across.
So question is simply this WHAT do I need to set and where do I need to set it to get my connections working on my systems. I'm sick of having to use my IDE to do things especially when I have several projects that I need to work with updating and pushing data to.
Thank you all for whatever aid you can provide.
Here are also some log statements from bashing on tortoise to get it working.
1/24/2011 - 8:06:15 PM Command : Update Error : OPTIONS of 'ip/folder';: Could not resolve hostname Error : `ip/folder/proj1';: The requested name is valid, but no Error : data of the requested type was found. Error : (ip) Finished! :
1/24/2011 - 8:09:18 PM Command : Update Error : OPTIONS of 'ip/folder';: could not connect to server (ip) Finished! :
This was trying to pull a new copy of a project
1/24/2011 - 10:59:42 PM Command : Checkout from ip/folder, revision HEAD, Fully recursive, Externals included Error : OPTIONS of 'ip/folder';: could not connect to server (ip) Finished! :
Yes I can view the repository in Internet Explorer. Yes I can pull and push data to the repository with my IntelliJ IDE.
It seems like you need to specify a proxy server to access your repository. The proxy server is a – more or less – central access point for all computers of a corporate network to access the internet or other network resources.
If you set a proxy server in IntelliJ, copy the information from there and enter it into the TortoiseSVN proxy settings as described here.
To see the proxy settings for IE, open the Internet Options, then go to the Connections tab and click on LAN Settings. There shall be some information in the Proxy Server field that you can copy and enter it in Tortoise's proxy settings.
If there's no explicit proxy specified in the LAN Settings but an automatic configuration script, download the script (e.g. using wget
or some other client that doesn't evaluate the script) and search a proxy in the downloaded script.
If neither a proxy configuration script nor an explicit proxy is given in IE, it's no proxy-related issue.
Another difference between accessing the repo with IE and accessing it with TortoiseSVN is that the IE always uses the HTTP(S) protocol to access the repo whereas Tortoise can also deal with the svn://
protocol. Are you absolutely sure that you specified http://server.company.com/path/to/repo
when checking out with Tortoise and not svn://server.company.com/path/to/repo
(and is the URL that you're going to check out really the same as in IntelliJ? Which protocol is set in IntelliJ?)? The svn://
protocol could be blocked by corporate firewalls while http://
and https://
will surely not be blocked by the firewall.
I have found the problem. I posted answer at Tigris.org http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2700618 But here is the answer also.
Alright everyone, I found the dang file that was killing me.
Environment Windows Vista 64 HP also Win 7 64 TortoiseSVN 1.6.6
- I turned off the windows feature that hides all protected files and folders.
- Found a folder in root called 'C:\ProgramData\'. Inside of this folder was a folder 'Subversion' with a file called 'servers'. No file extension on the file. So the path was C:\ProgramData\Subversion\servers
- I used notepad to look in it and saw all my projects listed under proxy- entries. I changed the file to bkup.server (so i could revert just in case).
- Then right clicked in Windows Explorer window did an update and POOF, magic, it worked.
I hope this spares someone else out there a lot of misery. Thank you all for your help in this.
I had the same problem, but my solution was inspired on yours. My subversion folder was in C:\Users\\AppData\Roaming\Subversion, but the 'servers' file looked normal.
In the same parent directory, I also noticed the 'TortoiseSVN' directory. So at C:\Users\\AppData\Roaming\TortoiseSVN . I changed the name of that folder to xTortoiseSVN to make it unreachable for TortoiseSVN and POOF that fixed the problem. There probably was a corruption in one of the files.
Thanks for the inspiration :)
精彩评论