Bazaar for CM (was: understanding shared repo and push)

Gavin Carr gavin at openfusion.com.au
Fri Aug 4 02:22:07 BST 2006


On Wed, Aug 02, 2006 at 10:48:25AM -0400, Davis, Jacob wrote:
> > I've been doing something similar to this with tla/bazaar for 
> > a while now, pushing via rsync. One variation I use is that I 
> > have a top-level all--etc tree and then have separate 
> > host--etc branches off of that, so I can make common changes 
> > at the top and have them inherited to individual hosts.
> 
> I was just thinking of how to handle that scenario. Your solution sounds
> great.
> Cold you elaborate briefly on your process for creating and then keeping
> the branches in sync with the top level etc?

Creating is just (using baz, rather than translated to bzr, but you'll get
the idea):

  # For a new host web1
  mkdir /Net/web1
  cd /Net/web1
  baz get etc--all etc
  cd etc
  baz branch etc--web1

Updates are just a merge from the top etc--all tree. I just have a script
that does a for loop through all the /Net/<host>/etc trees and does that
merge to pull down outstanding changes.

Cheers,
Gavin





More information about the bazaar mailing list