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

Re: Mistakenly deleted svn projects using rm -rf instead of svnadmin...

From: Ryan Schmidt <subversion-2006c_at_ryandesign.com>
Date: 2006-09-07 23:25:56 CEST

On Sep 7, 2006, at 17:15, Matthew Kidd wrote:

> Yesterday I attempted to start with a fresh install of subversion
> and forgot that to properly delete svn you need to use svnadmin
> instead of rm -rf on the folder hierarchy. Now when I do a "locate
> svn" I still get the paths to the repositories as well as the conf,
> dav db, format, hooks, locks, and the README.txt. An ls -la of the
> directory where the folders were located does not show them being
> there. I'm a bit confused. Are the repositories deleted? I assumed
> that when I did a "locate svn" nothng would show up as he folders
> and files were deleted. Any help would be greatly appreciated.

"rm -rf" is exactly the correct way to delete a *repository*; there
is no such thing as "svnadmin delete". It sounds like you have indeed
successfully deleted your repository.

Note that "locate" gets its information from a database which is
regenerated periodically, for example every evening, so if you delete
a file today, that won't be reflected until tomorrow or whenever the
locate database is rebuilt on your system.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Sep 7 23:35:33 2006

This is an archived mail posted to the Subversion Users mailing list.