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

Re: Deleting files in subversion

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2007-09-03 15:27:39 CEST

On Monday 03 September 2007 14:10, Guenther Sohler wrote:
> We are working with many people on the same repository.
> One file, which includes really individual settings got
> accidently scheduled and committed under revision control some time ago.
>
> How can I remove the binding from my local file to the repository?
> "svn delete" would also deletes the local file but i just want to remove
> the linkage.

This is a bit tricky. If the file is deleted from the repository, it will also
be deleted locally when you update. This is possibly not that bad, because if
the file had local modifications, it will not get deleted (SVN will never
delete changes without explicitly being asked to), otherwise it is still
available from the repository, you just have to retrieve it from an older
revision.

Now, for e.g. configuration files, I'd suggest renaming it to foo.template.
You can then document which settings go where in that very file and fellow
developers can use it as template for their localised versions.

Uli

-- 
Sator Laser GmbH
Geschäftsführer: Ronald Boers, 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.
**************************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 3 15:26:44 2007

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.