[devel at bb.net] RFC: Mercurial bookmark and multi-branch support

Hollis Blanchard hollis_blanchard at mentor.com
Fri Mar 1 00:41:29 UTC 2019


I work with some Mercurial trees that use more than one bookmark (an 
alternative form of branches). I found that Buildbot only supports a 
single branch, so I had to extend it.

Logically speaking I think there are three changes: using StateMixin, 
supporting multiple branches, and supporting bookmarks. Is it worth 
trying to to split them up?

The attached patch is an RFC because:

  * I'm not sure how you like patches delivered (email?), or what style.
  * It's against 1.8.0. I will update to master and retest everything
    with python3 after I figure out how you'd like the new code to be
    submitted.
  * I didn't attempt to do anything with backwards compatibility for old
    databases that only track a single branch. Do you care? Maybe it's
    as easy as checking the type of the getState() result, and
    ignoring/replacing it if it's a single revision?

-- 
Hollis Blanchard
Mentor Graphics Emulation Division

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/devel/attachments/20190228/116bd703/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hgpoll-bookmarks.diff
Type: text/x-patch
Size: 11445 bytes
Desc: not available
URL: <http://lists.buildbot.net/pipermail/devel/attachments/20190228/116bd703/attachment.bin>


More information about the devel mailing list