[Buildbot-devel] Buildbot try with mercurial

Greg Ward greg at gerg.ca
Sat Jun 5 16:14:34 UTC 2010


On Fri, Jun 4, 2010 at 6:00 PM, Dustin J. Mitchell <dustin at zmanda.com> wrote:
> On Fri, Jun 4, 2010 at 4:36 PM, Gunnison, Brian
> <brian.gunnison at intel.com> wrote:
>> Ah, this task seems insurmountable for such as I. I was hoping to patch it in locally and show it off in a few days.
>
> Is it possible to convert an hg bundle into a diff?

Sort of... a bundle is multiple changesets written to a file.  It's
basically Mercurial's wire protocol (for pulling and pushing) written
to a file rather than to a socket.  So each changeset in the bundle
implies a diff, but (IIUC) you cannot extract that diff without
reference to a repository where you would apply the bundle.  (I
believe a bundle contains binary deltas, so I don't think it's
possible to get a text diff unless you have the original content which
the binary deltas are relative to.)

Making BuildBot's "try" feature use bundles is a great idea, and I
hope Brian pulls it off.  But it's very different from just sending a
patch.

Greg




More information about the devel mailing list