diff options
author | Stevan Radaković <stevan.radakovic@linaro.org> | 2013-03-27 13:12:07 +0100 |
---|---|---|
committer | Stevan Radaković <stevan.radakovic@linaro.org> | 2013-03-27 13:12:07 +0100 |
commit | a47396d75984fceab6d046ddb37d42428514960d (patch) | |
tree | 576a375f612beb070fea2a5b68be9f2858b8c94e | |
parent | e5d1ba930240dfff09880760586547bf421cb61e (diff) |
Add git fetch command.
-rwxr-xr-x | scripts/rhodecode-setup | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/rhodecode-setup b/scripts/rhodecode-setup index a53befa..2f6add8 100755 --- a/scripts/rhodecode-setup +++ b/scripts/rhodecode-setup @@ -526,6 +526,8 @@ def update_rhodecode(tag, work_dir): :param source_co: The destination directory where the code is cloned. :type str """ + cmd_args = ["git", "fetch"] + execute_command(cmd_args, work_dir=work_dir) cmd_args = ["git", "pull", "origin", tag] execute_command(cmd_args, work_dir=work_dir) cmd_args = ["git", "checkout", tag] |