Browse Source

Exit 1 if repo download -c fails

Change-Id: I6985548bf87032b121eeccf858c4eeca1a60598c
Scott Anderson 11 years ago
parent
commit
0936aeab2c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      subcmds/download.py

+ 1 - 0
subcmds/download.py

@@ -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)