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

svn release -d?

From: Marcus Comstedt <marcus_at_mc.pp.se>
Date: 2002-08-19 16:22:08 CEST

After voting in the logo contest, I realized that the functional
equivalent of `cvs release -d logos' seems to be missing from the
command line client. That is: Check for any modified/unversioned
files and zap the entire wc if there aren't any.

The closest I could find was `svn update -r0 logos', which will remove
all versioned unmodified files and directories. It has two
disadvantages over a real `release -d' though:

1) The top level directory is not removed, even if it's empty
2) Any modified files are left out of context due to the nonmodifed
   files always being removed. This makes it harder to decide if you
   should commit the modified files or not.

Yes, you can do it by first running `svn status logos' and then `rm
-rf logos', but having a single operation for it is more convenient
and less error prone. And CVS has it. :-)

  // Marcus

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 19 16:22:47 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.