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

Re: how to stop managing a folder with SVN ?

From: Ulrich Eckhardt <eckhardt_at_satorlaser.com>
Date: 2005-02-23 13:54:55 CET

Nicolas wrote:
> I wonder how to stop to manage a folder with SVN.
> I created a repository and I imported a folder with my files into the
> repository. Now my folder is under SVN management and is a working
> directory witch contains .svn folders.
> But I'd like to stop managing this folder and so the only way I found to
> do this is to copy it into a temporary folder, remove it from the
> repository and then copy the folder back from the temporary folder to
> the original location. Then I make a search for .svn folders and delete
> all of them. Now the folder is unmanaged, but it's not a simple thing to
> do...

You can delete in two ways IIRC:

  # delete from working copy
  svn delete ./dir
  svn commit

  # delete directly
  svn delete svn://server/repos/dir

That way you could save one step.

As for the removal of the .svn dirs:

  find -type d -name .svn -exec rm -rf {} \;

..should do the job.

Uli

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Feb 23 13:54:20 2005

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.