diff options
author | Stevan Radaković <stevan.radakovic@linaro.org> | 2013-01-28 17:13:00 +0100 |
---|---|---|
committer | Stevan Radaković <stevan.radakovic@linaro.org> | 2013-01-28 17:13:00 +0100 |
commit | 3a9a1f9fa6d6b5870f7b1e53d16328f49e273270 (patch) | |
tree | cfe742598651fde2edb0ba01a50918bf50dd67a4 | |
parent | e88f5f54330b6f6a207d3b398985bb6f6b056b48 (diff) |
Add --rhodecode-tag option to be mandatory
-rwxr-xr-x | scripts/rhodecode-setup | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/rhodecode-setup b/scripts/rhodecode-setup index 7bbc3fc..bc72898 100755 --- a/scripts/rhodecode-setup +++ b/scripts/rhodecode-setup @@ -181,6 +181,10 @@ def check_cli_args(args): print ("During update it is necessary to specify the RhodeCode" "system user.") sys.exit(1) + if not args.rhodecode_tag: + print ("During update it is necessary to specify the RhodeCode" + "repository tag to use (i.e. v1.5.1).") + sys.exit(1) if not args.rhodecode_checkout_dir: print ("During update it is necessary to specify the RhodeCode" "checkout directory.") |