diff options
author | Stevan Radaković <stevan.radakovic@linaro.org> | 2013-01-29 10:39:40 +0100 |
---|---|---|
committer | Stevan Radaković <stevan.radakovic@linaro.org> | 2013-01-29 10:39:40 +0100 |
commit | 257ae7b2b2690c9ca650fccec304bbcb0eb2e8a0 (patch) | |
tree | 3fe4ead2d5c78a1ade716368c530d3dabe52eb4e /scripts/rhodecode-setup | |
parent | 47ac5bfe9ef305edec3692a3b8e0795ae87da456 (diff) |
Change git pull so it pulls the correct branch/tag.
Diffstat (limited to 'scripts/rhodecode-setup')
-rwxr-xr-x | scripts/rhodecode-setup | 2 |
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) |