aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStevan Radaković <stevan.radakovic@linaro.org>2013-01-28 17:17:57 +0100
committerStevan Radaković <stevan.radakovic@linaro.org>2013-01-28 17:17:57 +0100
commit04798e9ae105a6a87b45704c1390aecaaa6af934 (patch)
treeb7405601a3786104489cff854fb078d6255cea36
parent3a9a1f9fa6d6b5870f7b1e53d16328f49e273270 (diff)
Use rhodecode_branch option instead of _tag one.
-rwxr-xr-xscripts/rhodecode-setup4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/rhodecode-setup b/scripts/rhodecode-setup
index bc72898..179e8a8 100755
--- a/scripts/rhodecode-setup
+++ b/scripts/rhodecode-setup
@@ -181,7 +181,7 @@ 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:
+ if not args.rhodecode_branch:
print ("During update it is necessary to specify the RhodeCode"
"repository tag to use (i.e. v1.5.1).")
sys.exit(1)
@@ -752,7 +752,7 @@ if __name__ == '__main__':
backup_postgres_db(home_dir, args.dbname)
# Update the rhodecode code base. Reinstall Rhodecode.
- update_rhodecode(args.rhodecode_tag, work_dir)
+ update_rhodecode(args.rhodecode_branch, work_dir)
reinstall_rhodecode(work_dir)
# Update database schema.