[Buildbot-devel] Multiple branches with HgPoller?

Steve Hoelzer shoelzer at gmail.com
Mon Jun 16 15:44:45 UTC 2014


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
'<my_repo_url>'

What else can I try?

Thanks,
Steve




More information about the devel mailing list