diff options
author | Scott Anderson <camel@droidmod.org> | 2014-10-17 15:37:12 -0400 |
---|---|---|
committer | Scott Anderson <camel@droidmod.org> | 2014-10-17 15:45:57 -0400 |
commit | 0936aeab2ca7553a40d6cc7aa9a13bb083949e10 (patch) | |
tree | 8463bfb8a61d8539fa374fd0fafcface41e817fb | |
parent | 5cf16607d33268ab0320a886c4a7b5e052684fa4 (diff) | |
download | git-repo-0936aeab2ca7553a40d6cc7aa9a13bb083949e10.tar.gz |
Exit 1 if repo download -c fails
Change-Id: I6985548bf87032b121eeccf858c4eeca1a60598c
-rw-r--r-- | subcmds/download.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/subcmds/download.py b/subcmds/download.py index 098d8b43..a029462e 100644 --- a/subcmds/download.py +++ b/subcmds/download.py | |||
@@ -93,6 +93,7 @@ makes it available in your project's local working directory. | |||
93 | except GitError: | 93 | except GitError: |
94 | print('[%s] Could not complete the cherry-pick of %s' \ | 94 | print('[%s] Could not complete the cherry-pick of %s' \ |
95 | % (project.name, dl.commit), file=sys.stderr) | 95 | % (project.name, dl.commit), file=sys.stderr) |
96 | sys.exit(1) | ||
96 | 97 | ||
97 | elif opt.revert: | 98 | elif opt.revert: |
98 | project._Revert(dl.commit) | 99 | project._Revert(dl.commit) |