understanding some of the basics

Matthew D. Fuller fullermd at over-yonder.net
Sun Oct 17 07:53:48 BST 2010


On Sun, Oct 17, 2010 at 01:52:14AM -0400 I heard the voice of
John Gabriele, and lo! it spake thus:
> On Sat, Oct 16, 2010 at 7:46 PM, Neil Martinsen-Burrell
> <nmb at wartburg.edu> wrote:
> >
> > $ bzr init-repo ~/the-proj
> 
> Ah! Shared repository. I see now.

Technically, of course, you don't need that; you could just `mkdir`
it, and then have the two branches inside it.  You'd just end up
storing the history twice, and having to copy it back and forth when
you merge.  So you _want_ to use a shared repo; just remember that it
doesn't conceptually change anything, having it or not.


> After merging, is it ok to simply `rm -fr ../crazy-feature`, or will
> the shared repo get confused?

Yep, that's fine.  The repo doesn't actually know anything about any
branches in it; it's just a giant bucket full of revisions.  And after
merging, all the revisions from that 'crazy-feature' are present in
'trunk' as well.


-- 
Matthew Fuller     (MF4839)   |  fullermd at over-yonder.net
Systems/Network Administrator |  http://www.over-yonder.net/~fullermd/
           On the Internet, nobody can hear you scream.



More information about the bazaar mailing list