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

Re: Fwd: svn switch to url that doesn't exist

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-04-28 20:17:23 CEST

On Thu, 28 Apr 2005, Ben Collins-Sussman wrote:

> >> 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.
> > Reproduced below....
> >

I can reproduce this using trunk against 1.2.0rc2 using ra_dav, but not
using ra_local. I guess ra_dav doesn't ensure that the SVNROOT part is the
same. (It doesn't try to connect via the new URL.) The other alyers just
strncmp the repos root part. I've not checked ra_dav to see where the bug
is.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 28 20:44:30 2005

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