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

RE: Subversion Exception

From: Nathan Ciliberto <NSC_at_akc.org>
Date: Tue, 18 Oct 2011 14:44:46 -0400

True, but this was an internal repository which I am sure was not being updated.

This would not work, as you have pointed out, for a public repository if it has been updated.

-Nathan
 
-----Original Message-----
From: Ulrich Eckhardt [mailto:ulrich.eckhardt_at_dominolaser.com]
Sent: Tuesday, October 18, 2011 2:55 AM
To: users_at_subversion.apache.org
Cc: Nathan Ciliberto
Subject: Re: Subversion Exception

Am 17.10.2011 23:38, schrieb Nathan Ciliberto:
> I fixed my local repository by doing a checkout into a new directory
> and copying the ".svn" from the new copy to the old directory.

1. "local repository" - you mean "working copy" or short "WC"

2. Copying the ".svn" folder is dangerous. If you check out at revision X and someone commits revision X+1 before you do the new checkout, you now have the files in revision X but SVN thinks they were derived from version X+1. So the changes from that last revision are not contained in your local files and they show up as reversed when doing "svn diff". If that revision moved/renamed/added files, this might even be lost partially.

Note that the usual suggestion to check out anew and then copy files the other direction is not much better, it suffers from the same possible problems. You need to verify manually what you have there.

3. In 1.7, there is only one ".svn" folder at the root of the WC. If any of them remain in subdirs, you should be able to remove them safely.

Good luck!

Uli
**************************************************************************************
Domino 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.dominolaser.com
**************************************************************************************
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. Domino Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
Received on 2011-10-18 20:45:22 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.