Ticket #187 (new defect)

Opened 9 months ago

Last modified 4 months ago

named branches in mercurial step are not supported

Reported by: dsallings Assigned to:
Priority: major Milestone: undecided
Component: vc-support Version: 0.7.6
Keywords: mercurial Cc: dustin, afri

Description

Named branches are currently not supported in the Mercurial source step.

The attached patch models hgbuildbot's inrepo vs. dirname branches and allows the user to select the branching method.

Attachments

mercurial-named-branches-in-step.diff (3.9 kB) - added by dsallings on 02/14/08 23:16:46.
allow named branches in mercurial step

Change History

02/14/08 23:16:46 changed by dsallings

  • attachment mercurial-named-branches-in-step.diff added.

allow named branches in mercurial step

02/14/08 23:23:32 changed by dsallings

  • owner changed.
  • component changed from other to vc-support.

02/17/08 09:51:14 changed by dustin

  • cc set to dustin.

Looks good. Want to add a test case and some documentation?

04/28/08 15:45:44 changed by warner

yay! I've love to commit this. But yeah, we need tests and docs. The test case should be in buildbot/test/test_vc.py, with a MercurialBranchInRepoHelper and MercurialBranchInRepo classes (as subclasses of their non-branchinrepo cousins). The MercurialBranchInRepo class needs to add these branchtype= arguments, and the helper needs to construct a repository that contains the extra branches in-repo instead of as separate repos.

thanks!

07/20/08 04:54:35 changed by afri

  • cc changed from dustin to dustin, afri.