[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: Medcoff, Charles <Charles.Medcoff_at_gedas.com>
Date: 2005-03-04 22:22:54 CET

When I'm done with a clean build I delete the working copy.

-----Original Message-----
From: Casper Hornstrup [mailto:ch@csh-consult.dk]
Sent: Friday, March 04, 2005 3:17 PM
To: 'Medcoff, Charles'; users@subversion.tigris.org
Subject: RE: Feature request: svn clean

 

  _____

From: Medcoff, Charles [mailto:Charles.Medcoff@gedas.com]
Sent: 4. marts 2005 20:48
To: 'Casper Hornstrup'; users@subversion.tigris.org
Subject: RE: Feature request: svn clean

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.
 
[CH] It's no worse than accidentially svn revert'ing your uncommitted local
changes.
 
I know that if you are using Eclipse then you have to create a new workspace
and all of that for this new working directory that you want for a clean
build. Other tools may have similar problems (e.g. additional work). What
is why I would recommend using Ant and keeping the ant script checked into
the repostory along with the source. The performing a clean build would
amount to something like:
 
prompt> svn checkout svn://server/project/trunk .
    lots of output here from subversion
prompt> ant
 
[CH] I'm more worried about having to checkout and manage several several
hundred MB large working copies.

-----Original Message-----
From: Casper Hornstrup [mailto:ch@csh-consult.dk]
Sent: Friday, March 04, 2005 2:13 PM
To: users@subversion.tigris.org
Subject: Feature request: svn clean

Hi.
 
When working on a change that requires a full rebuild to be properly tested
or when making releases would be very helpful to be able to convert an
existing
working copy into what would have resulted from a clean checkout from the
repository. Svn clean would basicly be a superset of svn revert -R. In
addition
to revert, it would delete all unversioned (usually generated) files in the
working copy.
 
Can I file an issue on this?
 
Casper
 
Received on Fri Mar 4 22:25:48 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.