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

Quick question about "svn switch"

From: Martin Ayotte <martinay_at_videotron.ca>
Date: 2003-06-27 01:59:46 CEST

Hi folks !

It should be simple, but maybe I missed something :

- If an repository URL is changed (or even better : it is moved on an other
server), the clients only need to use "svn switch" to make their working
copies switched to the new URL, right ?

In my case, I've just change the path portion of the URL and is seems to
fail ... Did I missed something ?
Is the "switch" command only use for moving from branch to branch ?
Is it possible to extend the feature to allow the purpose I wished ?
(it would be kind of useful since Url changes can happend very often)

Thanks in advance !

Original Url: http://websrv:8080/svn/ev4/Event4000
New Url: http://websrv:8080/svn/ev4000/Event4000

(notice that only the Apache changed in this case, I've just edited the
"httpd.conf", the repos still the same on the disk)
(it look like it try to validate and/or connect with the old Url)

[martin@martinay svn-work]$ svn info Event4000
Path: Event4000
Url: http://websrv:8080/svn/ev4/Event4000
Revision: 11
Node Kind: directory
Schedule: normal
Last Changed Author: martin
Last Changed Rev: 11
Last Changed Date: 2003-06-26 08:24:52 -0400 (Thu, 26 Jun 2003)

[martin@martinay svn-work]$ svn switch
http://websrv:8080/svn/ev4000/Event4000 Event4000
svn: RA layer request failed
svn: The path was not part of a repository
svn: PROPFIND request failed on '/'
svn: PROPFIND of '/': 405 Method Not Allowed (http://websrv:8080)

[martin_at_martinay svn-work]$ svn ls http://websrv:8080/svn/ev4000/Event4000
commd/
drysd/
ev4desk/
Makefile

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 27 02:02:20 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.