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

Re: Unreferenced pristines behavior in 1.7

From: Talden <talden_at_gmail.com>
Date: Wed, 30 Nov 2011 12:28:36 +1300

> I am actually in the process of doing an all-branches checkout right
> now, to try and take advantage of the consolidation available in the
> new working copy format. When using SSDs, disk usage matters.

I used to work (pre 1.7) with many branches including the trunk in separate WCs

Now I check out the project path with branches and tags being depth
empty except for selective checkout and check out the trunk... all
nicely in the same WC (and hence shared pristines) without checking
everything out.

The shared pristines pay off very well here. That said, an 'svn
cleanup' recently recovered >200mb and nearly 25000 files so automatic
pristine cleanup will be very nice when it arrives.

I'd actually like the ability to separate the pristine-store from the
WC root since I'd like to have several WCs for the same trunk or
branch with various pieces of work-in-progress - sharing pristines
there would be great.

Maybe something like the Bazaar shared-repositories. Just look up the
path until you hit a .svn that contains a pristine-store.

.../work/
    .svn/ <--- contains a pristine store, not a WC. All of the
pristines of WCs below.
    projectX/
        default/
            .svn/ <-- the root for this WC
            trunk/ ...
            branches/ <-- @ depth empty - only the branches I want checked out.
                feature-123/ ...
                feature-456/ ...
        that-thing-i-am-doing-on-trunk/ <-- same trunk as
.../work/projectX/default/trunk
            .svn/ <-- the root for this WC
        that-other-thing-i-am-doing-on-trunk/ <-- same trunk as
.../work/projectX/default/trunk
            .svn/ <-- the root for this WC

I personally think this approach is better than the suggestion of a
pristine-store in your profile for the whole machine. Sometimes you
do want separation. You can always link the folders off elsewhere.

--
Talden
Received on 2011-11-30 00:29:11 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.