projects
/
mass-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c97a04
)
Reject invalid command combination --reset --no-update
author
Ralf Jung
<post@ralfj.de>
Sat, 9 Mar 2013 13:30:04 +0000
(14:30 +0100)
committer
Ralf Jung
<post@ralfj.de>
Sat, 9 Mar 2013 13:30:04 +0000
(14:30 +0100)
mass_build.py
patch
|
blob
|
history
diff --git
a/mass_build.py
b/mass_build.py
index 1732565259b308d04f93451eb8aecd2542e02fe0..8f975460a7285d5f2d17f37a2f68fdf4773fb77e 100755
(executable)
--- a/
mass_build.py
+++ b/
mass_build.py
@@
-75,6
+75,8
@@
parser.add_argument("--check-versions",
parser.add_argument("projects", metavar='PROJECT', nargs='*',
help="Manually specify projects or folders to be built (project names take precedence)")
args = parser.parse_args()
+if args.reset_source and not args.update:
+ raise Exception("Can not reset sources without doing an update")
# load config
config = imp.load_source('config', args.config).__dict__