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

Re: Feature request: svn clean

From: David Faure <faure_at_kde.org>
Date: 2005-03-04 21:15:50 CET

On Friday 04 March 2005 20:47, Medcoff, Charles wrote:
> I'm not a developer for subversion but I've got to chime in on this....
>
> While I see what you are trying to do ... I don't think that it is a good
> idea. If you want a clean set of files then create yourself a new working
> directory. If you run this "svn clean" and you forgot to add some files to
> source control then you are going to have some of your code deleted. I
> doubt that this is want you want.

Unless you first make a backup copy of the working directory.
Compared to a clean checkout, this saves a lot of time, with slow networks
and/or big repository modules.

In KDE we have a perl script which does exactly this for CVS
(see admin/cvs-clean.pl in any KDE source module).
I've often used it. Of course it's a dangerous thing to do, so there should be at
least a confirmation requested from the user, with a big warning about what it
will do.

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 4 21:18:17 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.