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

svn switch brainos?

From: Robert Spier <rspier_at_pobox.com>
Date: 2003-08-01 01:07:12 CEST

(Is this a bug or user or expectation error?)

I did some repository reorganization:

$ svn move http://svnhost/combust/backend/trunk/ \
  # 177
$ svn move http://svnhost/combust/backend/branches/ \
  # 178
$ svn delete http://svnhost/combust/backend
  # 179

and then switched my WC over to it

$ svn switch --relocate http://svnhost/combust/backend/trunk \
                        http://svnhost/combust/trunk/ .

now, when I try and update my repository,

rspier@bear ~/projects/newweb$ svn update
svn: Filesystem has no item
svn: REPORT request failed on '/combust/!svn/vcc/default'
svn: file not found: revision `165', path `/trunk/apache/conf/httpd.tmpl'

The error makes sense, because /trunk/apache/conf/httpd.tmpl doesn't
exist in rev 165 -- in rev 165 it existed in

But - now my WC can't update -- I guess I was hoping "the right thing"
would happen.

If I switch the WC "forward" to the latest pre-reorganization
revision, I can update.

$ svn switch -r 176 http://svnhost/combust/backend/trunk/ .
$ svn update

this seems to get me out of my misery. Now to see if I can
communicate this to my users.

$ svn switch --relocate http://svnhost/combust/trunk \
$ svn switch -r 179 http://svnhost/combust/trunk

Having done one more test..

$ svn co -r 176 http://svnhost/combust/backend/trunk test
$ cd test
$ svn switch -r 178 http://svnhost/combust/trunk/
At revision 178.
$ svn update
At revision 179.

that seems to be the better way to do it.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 1 01:08:04 2003

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