[Buildbot-devel] GitPoller fixes in 0.8.3p1

Dustin J. Mitchell dustin at v.igoro.us
Thu Jan 13 18:40:36 UTC 2011


On Thu, Jan 13, 2011 at 12:39 PM, Matisse Enzer <menzer at apple.com> wrote:
> So using a fully qualified path for workdir fixes the problem i saw.
> I am also seeing this in the logs for some (not all) polling events:

I wish you'd tried this before the 0.8.3p1 release!

> 2011-01-13 10:36:59-0800 [-] gitpoller: repo poll failed
> 2011-01-13 10:36:59-0800 [-] Unhandled Error
>        Traceback (most recent call last):
>        Failure: twisted.internet.utils._UnexpectedErrorOutput: got stderr: "fatal: ambiguous argument 'HEAD..FETCH_HEAD': unknown revision or path not in the working tree.\nUse '--' to separate paths from revisions\n"

That happens when the fetch fails, for whatever reason.  Amber has
suggested that a better solution would be to use remote branches, so
e.g., we'd log master..origin/master instead of HEAD..FETCH_HEAD.  I
think that might improve the situation a little bit (after a failed
fetch, you'd just get zero revisions).

Dustin




More information about the devel mailing list