Merge "Reset merger repo when performing an update" into feature/zuulv3

This commit is contained in:
Jenkins 2017-02-14 22:34:34 +00:00 committed by Gerrit Code Review
commit cd58d314fd

View File

@ -256,7 +256,7 @@ class Merger(object):
repo = self.getRepo(project, url)
try:
self.log.info("Updating local repository %s", project)
repo.update()
repo.reset()
except Exception:
self.log.exception("Unable to update %s", project)