mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
Exit 1 if repo download -c fails
Change-Id: I6985548bf87032b121eeccf858c4eeca1a60598c
This commit is contained in:
parent
5cf16607d3
commit
0936aeab2c
@ -93,6 +93,7 @@ makes it available in your project's local working directory.
|
|||||||
except GitError:
|
except GitError:
|
||||||
print('[%s] Could not complete the cherry-pick of %s' \
|
print('[%s] Could not complete the cherry-pick of %s' \
|
||||||
% (project.name, dl.commit), file=sys.stderr)
|
% (project.name, dl.commit), file=sys.stderr)
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
elif opt.revert:
|
elif opt.revert:
|
||||||
project._Revert(dl.commit)
|
project._Revert(dl.commit)
|
||||||
|
Loading…
Reference in New Issue
Block a user