Fix two bugs in the BzrPoller:
commit56f439b542f00e223e3c5dacdf941c0ac03f602f
authorKristian Nielsen <knmeister@gmail.com>
Thu, 14 May 2009 17:35:38 +0000 (14 19:35 +0200)
committerKristian Nielsen <knmeister@gmail.com>
Thu, 14 May 2009 17:35:38 +0000 (14 19:35 +0200)
tree10d4e8b625cb9b93ec472706116fbfb9f7cf218a
parentcc98611d9416da0116844aa9dd0a81f340097245
Fix two bugs in the BzrPoller:

 - When re-loading a configuration file where an extra BzrPoller is added,
   there was a race condition that would cause the poller to run before
   initialisation was done, causing an exception and failing to add the
   new poller.

 - When specifying an explicit branch name for the BzrPoller, it used
   the wrong branch name when looking at old revisions during restart,
   causing it to think that the tip of every branch was new and consequently
   re-build every branch at every restart (the code for when branch_name is
   specified as SHORT also looks wrong, but is not fixed in this commit. I
   don't know if everyone uses SHORT anywat).
contrib/bzr_buildbot.py