[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: Matjaz <mc1607slo_at_gmail.com>
Date: 2007-09-03 14:34:08 CEST

On 9/3/07, Guenther Sohler <guenther.sohler@gmx.at> wrote:
> Hallo,
>
> 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.

Make a backup copy, then do svn delete, svn commit and copy/rename the
file back.

> When I do a commit, and others does an update, how would the binding
> also be removed for the he others without deletion of their local file ?

If I understand you correctly, you would like to delete the file from
the repository (which you can do with the above procedure), but you
also want users to keep their local file after they update the working
copy. You can do this - assuming users have local modifications of the
file - which I guess they do since the commited file contains your
individual settings.

After you have deleted the file from the respository and commited the
change, users can update their working copies. Since the file contains
local modifications, it will not get deleted, it just won't be bound
to the respository anymore.

Matjaz

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Sep 3 14:31:23 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.