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

Re: How to hide (cloak) directories I'm not interested in?

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-09-10 10:39:53 CEST

Eric Hanchrow wrote:
>>>>>> "Mikko" == Mikko <mikkol@kastema.to> writes:
>
> Mikko> It would save disk space, bandwidth and nerves if it was
> Mikko> possible for a user to define such directories hidden and
> Mikko> only access them when she really needs them.
>
> I recently sent out mail to my coworkers explaining how to solve
> exactly this problem. (I'd give credit to whomever gave me the idea,
> but I've forgotten who it was -- I certainly didn't think of it myself)
>
> If, like me, you get annoyed that your working copy includes a
> bazillion megabytes of uninsteresting stuff, here's a way to suppress
> it: just switch each directory to svn://server/empty, like this:
>
> for i in boring* dull stupid etc
> do svn switch svn://server/empty $i
> done
>
> This will delete all the versioned files in those directories, and
> thenceforth, doing "svn up" will _not_ bring them back.
>
> To bring them back, just switch them back to where they were
> originally:
>
> for i in boring* dull stupid etc
> do svn switch svn://server/trunk/$i $i
> done

Thanks for the tip!
Added a FAQ entry for this:
http://tortoisesvn.net/node/237

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Sun Sep 10 10:40:07 2006

This is an archived mail posted to the TortoiseSVN Users mailing list.