[PLUGIN] bzr changeset now support rollup changesets (and bzr send-changeset)
John A Meinel
john at arbash-meinel.com
Tue Jun 28 23:37:26 BST 2005
Just off of the discussions that have been bantered around bzr changeset
now supports rolling up multiple changesets.
Right now it only works on revisions that are in your revision-history.
The syntax is:
bzr changeset -r <base>:<target>
With <base> defaulting to the parents[0] of target, and target
defaulting to the last commit.
so if your last commit was number 10, all of these are equivalent
bzr cset
bzr cset -r 10
bzr cset -r :10
bzr cset -r 9:10
But you can specify a different base if you want to. You can even print
the changeset for the entire tree with:
bzr cset -r 0:
(warning do not do this on the 800+ bzr mainline :)
I have not updated read_changeset.py yet, so bzr verify-changeset and
bzr apply-changeset will not work.
This is more just a test to get some feedback about the changeset
format. Whether people like it or not.
Just as a sample, I am including a sample changeset as an attachment.
This is just a rollup changeset of revisions 796 and 797 of the bzr
mainline developement. I rolled them up because they were both small,
not because they logically go together.
There is also the command 'bzr send-changeset <to>' which will create a
changeset, and email it. Thanks to Johan Rydberg.
It utilizes a file called '.bzr/x-send-address' which is meant to be the
default location to send changesets. And should probably be something
that bzr branch pulls across.
It also creates a new entry ~/.bzr.conf/smtp-host to define the mailhost
to use for sending an email (for people on windows who don't have a
local sendmail running).
John
=:->
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bzr-mainline-796,797.cset
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20050628/467cdca1/attachment.diff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050628/467cdca1/attachment.pgp
More information about the bazaar
mailing list