[ANN] 'bzr-start' plugin

John Arbash Meinel john at arbash-meinel.com
Wed Jan 21 17:56:40 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I just put together this plugin, because it simplifies *my* workflow,
and I thought others might be interested as well.

  lp:~jameinel/+junk/bzr-start

My working layout is like this:

~/dev/bzr	# shared repo
	bzr.dev	# heavy checkout of http://bazaar-vcs.org/bzr/bzr.dev
	1.12/
	  feature-x	# feature branch targeted at bzr 1.11
	  feature-y	# another feature branch
	work		# light checkout of a feature branch
	alt_work	# another checkout for other work

Basically, I have a couple checkouts for working on multiple features at
a time. And I collect my feature branches (grouped roughly by expected
bzr release to land them in.)

Anyway, when I start a new feature branch, I basically want to do:

  bzr branch ../bzr.dev ../1.12/feature-name
  bzr switch ../1.12/feature-name

Stuff like 'cbranch' doesn't really fit my workflow because it wouldn't
default to branching from a 'trunk' branch, and switching my local
working tree over.

At the moment, I re-use the 'submit_branch' as the source to branch
from. It made the most sense as "I'm about to work on a patch which will
be submitted to X", so start building from the tip of X.

However, I allow you to specify --revision, in case you want something else.

Anyway, it is useful to me, and would probably be useful to anyone who
uses a similar working layout.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkl3YdgACgkQJdeBCYSNAAPG6ACffogh4YgHIjaK4a39a59vod2c
yDsAoK9YHfuMdHFGDhoDFl1TCnsSXySD
=d5MY
-----END PGP SIGNATURE-----



More information about the bazaar mailing list