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

Re: tree conflict: new folder with old name

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: Thu, 27 May 2010 12:55:44 +0200

On Thursday 27 May 2010, Giampiero Salvi wrote:
> I know this is my fault, I'm just checking if there is a way to fix this.
>
> I renamed a folder and then created a new folder with the old name of
> the first one:
>
> svn mv folder_name folder_name2008
> svn ci -m "renamed folder_name"
> mkdir folder_name
> svn add folder_name
> svn ci -m "added new folder with old name"

Not beautiful, but not incorrect either.

> Since this, I have been having "tree conflict" problems. I tried with
> svn resolved which works at the moment I run it, but later I get the
> conflict back.
>
> C folder_name
> C folder_name2008
> Updated to revision 1966.
> Summary of conflicts:
> Tree conflicts: 2
>
> Is there a way I can bring the repository to a stable state again?

The repository is stable, I think you mean the working copy. I guess that you
have local, unversioned files in your local "folder_name". Those are not
moved with the versioned files, so after the first step you have two folders.
Then, the newly created versioned folder can't be created, because the local
unversioned one is in the way.

In any case, as with most problems with a working copy, just deleting it and
checking out again typically does the job.

Uli

-- 
ML: http://subversion.tigris.org/mailing-list-guidelines.html
FAQ: http://subversion.tigris.org/faq.html
Docs: http://svnbook.red-bean.com/
Sator Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Sator Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
           Visit our website at <http://www.satorlaser.de/>
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Sator Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
Received on 2010-05-27 12:56:31 CEST

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.