You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Lieven Govaerts <lg...@mobsol.be> on 2005/10/01 12:12:03 UTC

RE: How to delete a project???

Hi kj,


considering your answers on the other replies you got on this email, 
I guess you want to delete a full folder from a repository, something
like this:

Repo:
/src
   /project1
   /project2 <- try to delete this project.

If you want to get rid of say project2, you can offcourse do 
'svn delete http://xyz/src/project2', but in that case project2 will
remain part of the history stored in the repository.

The best option you have then, is to dump the full repository to file, 
remove all references to /src/project2 and then import the repository
again. Now before you think this is a manual job, there is a nice tool
for that in the bin folder of the subversion distribution, called 
svndumpfilter. 

Svndumpfilter allows you to parse a dumped repository, and filter its
folders, based on exclude & include rules which you specify. It will 
generate a new dump file, which you can then load in a new, empty
repository.
It has served me well a few times and I'm sure it will solve both your 
problems as well.

The SVN book has even a nice example on how to use it, you can find the 
relevant section online at:
http://svnbook.red-bean.com/en/1.0/ch05s03.html#svn-ch-5-sect-3.1.3

regards,

Lieven.


> -----Original Message-----
> From: kynn@panix.com [mailto:kynn@panix.com] 
> Sent: vrijdag 30 september 2005 18:40
> To: users@subversion.tigris.org
> Subject: How to delete a project???
> 
> 
> 
> 
> 
> 
> How can one delete a project from a repository?
> 
> Alternatively, how can one copy all the information from a repository
> *except* the stuff associated with a specific project?
> 
> Thanks!
> 
> kj
> 
 

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.9/116 - Release Date: 30/09/2005
 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org