Exit 1 if repo download -c fails

Change-Id: I6985548bf87032b121eeccf858c4eeca1a60598c
This commit is contained in:
Scott Anderson 2014-10-17 15:37:12 -04:00
parent 5cf16607d3
commit 0936aeab2c

View File

@ -93,6 +93,7 @@ makes it available in your project's local working directory.
except GitError:
print('[%s] Could not complete the cherry-pick of %s' \
% (project.name, dl.commit), file=sys.stderr)
sys.exit(1)
elif opt.revert:
project._Revert(dl.commit)