[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: Eric Hanchrow <offby1_at_blarg.net>
Date: 2006-06-02 19:42:45 CEST

>>>>> "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

-- 
... when you [find Lisp], many of your friends will become
rather... distant, as if you'd inexplicably stopped bathing.
        -- Steve Yegge
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Jun 2 19:54:07 2006

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

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