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