[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svn switch to url that doesn't exist

From: Tom McMillen <thomas.mcmillen_at_mppglobal.com>
Date: 2005-04-28 11:03:06 CEST

I just created a branch and then tried to switch my wc to the branch using:
svn cp http://url1/svn/trunk/foo/bar http://url1/svn/branches/mybar -m “created mybar”
svn switch http://url/svn/branches/mybar bar
basically in the svn switch I missed the 1 off the url in the switch command
but the switch worked…
but now when I try to do anything I get an error
svn: PROPFIND request failed on '/svn/branches/mybar'
svn: PROPFIND of '/svn/branches/mybar': Could not resolve hostname `url': No such host is known. ( http://url <http://url/> )
I’m using svn version 1.1.1 (r11581) on windows xp, server is windows 2003 running apache and svn version 1.1.1
I’ve got around the problem by putting url into the windows HOSTS file and mapping it to the same ip address as url1
I just didn’t expect the initial switch with a bad url to work.
Is this is bug? Or user error? if user error how do I get back to a valid url using svn?
Tom McMillen
MPP Global Solutions
t: +44 (0) 870 099 2118
m: +44 (0) 796 070 2994
w: www.mppglobal.com
Received on Thu Apr 28 11:01:19 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.