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

Re: updating in moved directory

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-07-02 02:10:15 CEST

On Thu, 2004-07-01 at 18:58, Roger Keays wrote:
> Hi Ben,
>
> Thanks for the reply.
>
> >>What I have done is moved the directory in the repository from /2.0.0 to
> >>/branches/2.0.0. Now when I try to update from the working repository I get
> >>
> >> svn: No repository found in
> >> 'svn+ssh://host.name.com/website/2.0.0/www/'
> >>
> >>Can anybody explain what is happening here for me? I can't svn switch the
> >>working repository.
> >
> > As your detailed example shows, 'svn switch' is the solution.
> >
> > So, what exactly is the problem here? You say you "can't svn switch",
> > but don't show us any details. 'svn switch
> > svn+ssh://host/website/branches/2.0.0' should work just fine.
>
> I get the above error for switch and for update (since they are essentially the
> same command).

They are the same in spirit and underlying implementation, but not in
what they ask the server to do.

'svn up' asks the server to compare the working-revision (r13) of the
/2.0.0 tree with the HEAD revision of the /2.0.0 tree. The latter tree
doesn't exist, hence the error.

'svn switch newURL' asks the server to compare the working-revision
(r13) of the /2.0.0 tree with the HEAD revision of newURL
(/branches/2.0.0) This should succeed, since both of those trees exist.

> AFAICT the switch is looking for the directory in the old
> revision (r13) ... would that make sense?

No, it doesn't. Can you actually show us a transcript, rather than
describe what you think is happening? :-)

I'd also like to see the output of 'svn info' on the root directory of
your working copy, as well as 'svn status' and 'svnversion'.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 2 02:16:43 2004

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