Ver Fonte

Exit 1 if repo download -c fails

Change-Id: I6985548bf87032b121eeccf858c4eeca1a60598c
Scott Anderson há 11 anos atrás
pai
commit
0936aeab2c
1 ficheiros alterados com 1 adições e 0 exclusões
  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)