R – Error: 175002 (RA layer request failed)

mercurialversion controlxcode

I get the following error when connecting XCode to a repository on GoogleCode.com

Error: 175002 (RA layer request failed) Description: Server sent unexpected return value (405 Method Not Allowed) in response to OPTIONS request for 'http://touchcode.googlecode.com/hg' 

Has anyone see this before and how do I resolve it?

Best Answer

If you are using http protocol for accessing svn , try using svn://repoaddress/

In my case the protocol was incorrect.