Merge "Reset merger repo when performing an update" into feature/zuulv3
This commit is contained in:
commit
cd58d314fd
@ -256,7 +256,7 @@ class Merger(object):
|
|||||||
repo = self.getRepo(project, url)
|
repo = self.getRepo(project, url)
|
||||||
try:
|
try:
|
||||||
self.log.info("Updating local repository %s", project)
|
self.log.info("Updating local repository %s", project)
|
||||||
repo.update()
|
repo.reset()
|
||||||
except Exception:
|
except Exception:
|
||||||
self.log.exception("Unable to update %s", project)
|
self.log.exception("Unable to update %s", project)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user