Pārlūkot izejas kodu

Exit 1 if repo download -c fails

Change-Id: I6985548bf87032b121eeccf858c4eeca1a60598c
Scott Anderson 11 gadi atpakaļ
vecāks
revīzija
0936aeab2c
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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)