Skip to content

Commit

Permalink
(fixes buildbot#686) always do a clobber when retrying a VC operation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin J. Mitchell committed Jan 17, 2010
1 parent 9428693 commit c99f51d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion buildbot/slave/commands.py
Expand Up @@ -1568,7 +1568,9 @@ def maybeDoVCRetry(self, res):
self.sendStatus({'header': msg + "\n"})
log.msg(msg)
d = defer.Deferred()
self.maybeClobber(d)
# we are going to do a full checkout, so a clobber is
# required first
self.doClobber(d, self.workdir)
d.addCallback(lambda res: self.doVCFull())
d.addBoth(self.maybeDoVCRetry)
reactor.callLater(delay, d.callback, None)
Expand Down

0 comments on commit c99f51d

Please sign in to comment.