Skip to content

Commit

Permalink
vcs.py: delete srcdir before retrying git clone
Browse files Browse the repository at this point in the history
* This fixes ticket buildbot#884

Signed-off-by: Scott Garman <sgarman@zenlinux.com>
  • Loading branch information
Scott Garman committed Jun 7, 2010
1 parent f77740c commit f1671bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions slave/buildslave/commands/vcs.py
Expand Up @@ -229,6 +229,8 @@ def maybeDoVCRetry(self, res):
# we are going to do a full checkout, so a clobber is
# required first
self.doClobber(d, self.workdir)
if self.srcdir:
self.doClobber(d, self.srcdir)
d.addCallback(lambda res: self.doVCFull())
d.addBoth(self.maybeDoVCRetry)
self._reactor.callLater(delay, d.callback, None)
Expand Down

0 comments on commit f1671bd

Please sign in to comment.