Try to reclobber on retry.
commita079d84d4056dbf5ab3489cb7f2f8f0e20d91b87
authorDustin Sallings <dustin@spy.net>
Thu, 22 Jan 2009 17:59:59 +0000 (22 09:59 -0800)
committerDustin J. Mitchell <dustin@zmanda.com>
Thu, 22 Jan 2009 18:27:20 +0000 (22 13:27 -0500)
treea0ec93e56014c5c4bde701a712be87fe9685b0ea
parent32a01826fbc560e431546f404c65a6a6389d1d57
Try to reclobber on retry.

On a failed git update in clobber mode, I was getting the following
error on the second try:

exceptions.OSError: [Errno 17] File exists: '/path/to/build'

It seems that the clobber only occurs once, and any error that happens
during the checkout should redo the clobber.
buildbot/slave/commands.py