Bazaar Mercurial Plugin to access BitBucket
Roland Mas
lolando at debian.org
Wed Oct 26 07:13:28 UTC 2011
Matthew D. Fuller, 2011-10-25 21:27:19 -0500 :
> On Fri, Oct 21, 2011 at 12:07:53PM -0400 I heard the voice of
> Barry Warsaw, and lo! it spake thus:
>>
>> I have a vague feeling that colocated branches are preferred by
>> folks working on large compiled language code bases, but personally,
>> I don't see the attraction or advantage of them.
>
> One good reason is the broad category of "any time creating a new
> directory entails significant overhead", which can be of many times.
[...]
> Another is any sufficiently large project, so that the cost (disk
> space, I/O, wall time) of making a new working tree is burdensome.
>
> A third is where there are external things that depend on the
> location.
[...]
Pardon me if I'm wrong, but all three of those requirements are met by
lightweight checkouts of branches stored in a shared repository. I
myself don't handle an astronomical number of branches, but I have my
repository in ~/bzr-repo/, and the working trees are all lightweights
under ~/$project/$tree. I usually keep one tree constantly on the
relevant "trunk" branch (with $tree=trunk), sometimes another on a
specific branch I spend lots of time in (with $tree=maintenance for
instance) and another is where I fool around (with $tree=switch).
Inside that "switch" tree, I just "bzr switch $foo" whenever I change
focus.
Roland.
--
Roland Mas
[...] ou une dent pourrie [...] -- in Variations sur un thème imposé
-- Signatures à collectionner, série n°2, partie 2/3.
More information about the bazaar
mailing list