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

Re: How to "un-checkout" from svn

From: Jeff Mitchell <jeffrey.mitchell_at_gmail.com>
Date: Thu, 6 Mar 2008 09:02:51 -0500

Javier--

I don't think you can clean up your working copy once it's all checked
out, but if you can check out a working copy anew, try using the -N
flag (no recursion). It will allow you to selectively check out the
contents of various folders while still keeping the folders themselves
versioned (so you can go to a higher-level directory and do a checkin
on the directories you *did* check out all at once).

As Steve pointed out, you can't only decide to check out certain files
in a directory, but you can tell it to only check out certain
directories.

Be warned though -- if you do an svn up in a directory where you've
previously checked specific things out using the -N flag, it will
update *everything* unless you also specify the -N flag with updates.
It becomes more maintainable to (easily) script this scenario than
doing the various updates with -N by hand.

--Jeff

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-06 15:32:43 CET

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.