[Buildbot-devel] Multiple branches with HgPoller?
gracinet at anybox.fr
Mon Jun 16 16:06:56 UTC 2014
On 06/16/2014 05:44 PM, Steve Hoelzer wrote:
> I'm running BuildBot 0.8.8 on Windows and I use HgPoller to find
> changes on the default branch in my Mercurial repo. Now I'd like to do
> the same thing on another branch in the same repo but I can't figure
> out how to get it working.
> I know that GitPoller can be configured to watch multiple branches or
> all branches of a repo, but HgPoller doesn't seem to support that. It
> always looks at a single branch.
> I tried having multiple HgPollers, but then I get an error on startup
> because both HgPollers have the same repo address. The error says:
> File "C:\Python27\lib\site-packages\twisted-13.2.0-py2.7-win32.egg\twisted\application\service.py",
> line 303, in addService
> " '%s'" % service.name)
> exceptions.RuntimeError: cannot have two services with same name
> What else can I try?
I do have a fix for this issue, also known as
http://trac.buildbot.net/ticket/2469, still need to make it meet the
buildbot standards though (it's just making the service name of the
poller derive also from the branch).
Anybox SAS, http://anybox.fr
Bureau: 09 72 39 50 97 / 09 72 39 13 06
Portable: 06 51 32 07 27
GPG: 0x33AB0A35, sur serveurs publics
More information about the devel