[MERGE] Improved review process docs and separate out architectural overview

Aaron Bentley aaron at aaronbentley.com
Sat Sep 6 04:17:50 BST 2008


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

Vincent Ladeuil wrote:
>>>>>> "martin" == Martin Pool <mbp at sourcefrog.net> writes:
> Ok. I was hoping to find some tricks on how you guys set up a
> branch for review.
> 
> I do it that way:
> 
> #!/bin/sh -x
> BASE=~/src/bzr/reviews
> NICK=$1
> PATCH=$BASE/$NICK.patch
> # Bundles contain a line like:
> # base_revision_id: pqm at pqm.ubuntu.com-20080903083249-e76ygekseh1peidm
> REV_ID=`grep '^# base_revision_id: ' poolie-review-doc.patch | sed -e 's/^# base_revision_id: //'`
> cd $BASE
> bzr branch lp:bzr -r revid:$REV_ID $1
> cd $BASE/$1
> bzr pull $PATCH

Just "bzr init foo && bzr pull -d foo foo.patch" should work, as long as
the bundle's target_branch is accurate.  Any missing revisions will be
fetched from target_branch.

> with PATH being the file I saved either from the mail or from BB.
> 
> By the way, why isn't the above integrated to bzr branch (in a
> more robust way,

Well, FWICT, all you need is "bzr branch" to natively support bundles,
instead of having to use init && pull.  I never create review branches.
 If I don't review from the patch, I merge the bundle into bzr.dev.

So I guess the answer is "because vila hasn't added bundle support to
'bzr branch.". :-)

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIwfZe0F+nu1YWqI0RAgWGAJ9gmPaOGQCwdFq/Jt+b4q9RwlY44ACgg0gW
5ToLqvJxe0uT/hlip9aTwhg=
=5hdx
-----END PGP SIGNATURE-----



More information about the bazaar mailing list