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

RE: 'switch --relocate' troubles

From: <Nick_Gianakas_at_sybari.com>
Date: 2005-01-03 17:55:28 CET

I have made this mistake myself. It seems the FROM parameter is obvious,
but the TO parameter is easily overlooked as a quick scan reads "FROM to
PATH". The help syntax is correct, just easily mis-read.

Perhaps change the help to be:
...
2. switch --relocate FROM_URL TO_URL [PATH...]

Regards,
Nick G.

"James FitzGibbon" <jfitzgibbon@primustel.ca>
12/31/2004 11:20 AM
 
        To: "'Kurt Guenther'" <kurtg@serent.com>, "'subversion-users'"
<users@subversion.tigris.org>
        cc:
        Subject: RE: 'switch --relocate' troubles

Your usage requires two URLs:

switch (sw): Update the working copy to a different URL.
usage: 1. switch URL [PATH]
       2. switch --relocate FROM TO [PATH...]

So you need to put in whatever the current URL of your working copy is
(use svn info if you don't have the exact URL).

As to the error about 'tools', I'm guessing that it's an error message
that has changed in different versions of SVN. In v1.1.1 and v1.1.2,
svn just quietly does nothing if I replicate your command.

-----Original Message-----
From: Kurt Guenther [mailto:kurtg@serent.com]
Sent: Friday, December 31, 2004 11:07 AM
To: subversion-users
Subject: 'switch --relocate' troubles

I changed my repository from:

http://svn.serent.net/svn/oldproject/trunk

http://svn.serent.net/svn/newproject/trunk

But, I'm having trouble with the "switch --relocate". I get this:

$ svn switch --relocate http://svn.serent.net/svn/newproject/trunk
. # with a dot on the end.
svn: Working copy 'tools' not locked

I can't figure out what tools is. I don't have such a file or
directory in my current working image.

--Kurt

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

--
No virus found in this incoming message.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.7 - Release Date: 12/30/2004
 
-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.7 - Release Date: 12/30/2004
 
-- 
----------------------------------------------------------------------------
This electronic message contains information from Primus 
Telecommunications
Canada Inc. ("PRIMUS") , which may be legally privileged and confidential.
The information is intended to be for the use of the individual(s) or 
entity
named above. If you are not the intended recipient, be aware that any
disclosure, copying, distribution or use of the contents of this 
information
is prohibited. If you have received this electronic message in error, 
please
notify us by telephone or e-mail (to the number or address above)
immediately. Any views, opinions or advice expressed in this electronic
message are not necessarily the views, opinions or advice of PRIMUS.
It is the responsibility of the recipient to ensure that
any attachments are virus free and PRIMUS bears no responsibility
for any loss or damage arising in any way from the use
thereof.The term "PRIMUS" includes its affiliates.
----------------------------------------------------------------------------
Pour la version en français de ce message, veuillez voir
 http://www.primustel.ca/fr/legal/cs.htm
----------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 3 17:57:48 2005

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

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