[MERGE] Support ``child_submit_format`` option set in the submit branch in "bzr send".

Jelmer Vernooij jelmer at vernstok.nl
Sat May 16 15:46:08 BST 2009


bzr send currently only allows specifying --format to override the
format to use, and will use the "4" format in all other situations.

This adds a ``child_submit_format`` option that can be set in the submit
branch to specify what send format to use when submitting changes
against that submit branch. This option is checked if there was no
format specified explicitly on the command-line.

Other than allowing users to set their preferred submit format, the idea is 
that this should (combined with my other "bzr send" patch) allow foreign branch implementations to default to other "bzr send" formats. E.g. Subversion 
branches could default to a format that just included a plain patch,
Git could default to a "git am-style" set of patches, etc.

In other words, this would do the right thing:

$ bzr branch git://git.samba.org/samba.git samba
$ cd samba
while not fixed:
	<hack-hack>
	$ bzr commit
$ bzr send --mail-to=samba-technical at samba.org

Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: submit-format-4371.patch
Type: text/x-diff
Size: 7741 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090516/df3f93fa/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090516/df3f93fa/attachment-0001.pgp 


More information about the bazaar mailing list