[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: Javier Alvarado <quijotista_at_yahoo.com>
Date: Thu, 06 Mar 2008 19:42:30 -0800

Yeah, a new svn co -N is exactly what I've been doing. And yes, I've
been bitten by doing the svn update without the -N flag and had to hit
Ctrl-C to stop it from checking a lot of stuff I don't need.

Jeff Mitchell wrote:
> 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-07 04:45:51 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.