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

Re: svn switch to url that doesn't exist

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-04-28 14:42:07 CEST

On Apr 28, 2005, at 4:03 AM, Tom McMillen wrote:

> Hi,
> 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…

I don't believe you. If the 'url' can't be resolved by DNS, then
there's no way the switch could have worked in the first place -- the
switch absolutely has to contact the repository and ask it to compare
two trees. Are you leaving some details? If not, I'd like to see a
transcript of your commandline session that demonstrates this.

> 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)

Rewrite the SVNROOT portion of the URLs in your working copy by running

    svn switch --relocate http://url http://url1

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 28 14:50:03 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.