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

RE: svn move

From: Derek Mahar <DMahar_at_penson.ca>
Date: 2004-03-31 17:57:44 CEST

As far as I know, you can't move the project root. You'll have to move
each file in the root one at a time. If your repository is new and
contains few revisions, you might save time and effort by exporting its
contents to the filesystem with 'svn export', restructure it with move
and copy commands, and then import this new structure with 'svn import'
into a new repository.

Derek

-----Original Message-----
From: Michael Wiedmann [mailto:mw@miwie.in-berlin.de]
Sent: March 31, 2004 10:31 AM
To: Derek Mahar
Cc: SVN Users ML
Subject: Re: svn move

* Derek Mahar <DMahar@penson.ca> wrote [040331 09:52]:
> What is your repository layout? Display the layout with 'svnlook tree

> /var/svn/project'. Do you want to change the structure in a working
> copy or in the repository directly?

/
 file1
 file2
 ...

> Repository
> svn move --message "message" http://localhost/repository/path/source
> http://localhost/repository/path/destination

If I try to

svn move -m "message" file:///var/svn/project/ \
file:///var/svn/project/trunk

I get the follwoing message (regardless whether I create
"/var/svn/project/trunk" or not):

svn: Cannot move URL 'file:///var/svn/db2latex-howto' into itself

Michael

-- 
mw_at_miwie.in-berlin.de                              http://www.miwie.org
mw@miwie.org
NOTICE: This email contains privileged and confidential information and is intended only for the individual to whom it is addressed. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this transmission by mistake and delete this communication from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. 
AVIS: Le présent courriel contient des renseignements de nature privilégiée et confidentielle et n’est destiné qu'à la personne à qui il est adressé. Si vous n’êtes pas le destinataire prévu, vous êtes par les présentes avisés que toute diffusion, distribution ou reproduction de cette communication est strictement interdite.  Si vous avez reçu ce courriel par erreur, veuillez en aviser immédiatement l’expéditeur et le supprimer de votre système. Notez que la transmission de courriel ne peut en aucun cas être considéré comme inviolable ou exempt d’erreur puisque les informations qu’il contient pourraient être interceptés, corrompues, perdues, détruites, arrivées en retard ou incomplètes ou contenir un virus.  
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 31 17:58:38 2004

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