aboutsummaryrefslogtreecommitdiff
path: root/scripts/rhodecode-setup
diff options
context:
space:
mode:
authorStevan Radaković <stevan.radakovic@linaro.org>2013-01-29 10:39:40 +0100
committerStevan Radaković <stevan.radakovic@linaro.org>2013-01-29 10:39:40 +0100
commit257ae7b2b2690c9ca650fccec304bbcb0eb2e8a0 (patch)
tree3fe4ead2d5c78a1ade716368c530d3dabe52eb4e /scripts/rhodecode-setup
parent47ac5bfe9ef305edec3692a3b8e0795ae87da456 (diff)
Change git pull so it pulls the correct branch/tag.
Diffstat (limited to 'scripts/rhodecode-setup')
-rwxr-xr-xscripts/rhodecode-setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/rhodecode-setup b/scripts/rhodecode-setup
index 7f7d73e..eb0c5a6 100755
--- a/scripts/rhodecode-setup
+++ b/scripts/rhodecode-setup
@@ -512,7 +512,7 @@ def update_rhodecode(tag, work_dir):
:param source_co: The destination directory where the code is cloned.
:type str
"""
- cmd_args = ["git", "pull"]
+ cmd_args = ["git", "pull", "origin", tag]
execute_command(cmd_args, work_dir=work_dir)
cmd_args = ["git", "checkout", tag]
execute_command(cmd_args, work_dir=work_dir, with_sudo=True)