Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2019-10-11 14:11:10 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-10-11 14:11:10 +0300
commit2b35ee3ea2ef5773e58a9486a281b4747d85a399 (patch)
tree08b2d0fd740298d07c394cefef29983dac18fd6f /build_files/utils/make_update.py
parent3f97d62072528af360d4b6537f56a0dfacf30559 (diff)
Fix issue in "make update" checking out submodule branch on buildbot
Diffstat (limited to 'build_files/utils/make_update.py')
-rwxr-xr-xbuild_files/utils/make_update.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/build_files/utils/make_update.py b/build_files/utils/make_update.py
index 3e91a43afd3..f845515bb3b 100755
--- a/build_files/utils/make_update.py
+++ b/build_files/utils/make_update.py
@@ -181,6 +181,7 @@ def submodules_update(args, release_version, branch):
skip_msg += submodule_path + " skipped: " + msg + "\n"
else:
if make_utils.git_branch(args.git_command) != submodule_branch:
+ call([args.git_command, "fetch", "origin"])
call([args.git_command, "checkout", submodule_branch])
call([args.git_command, "pull", "--rebase", "origin", submodule_branch])
finally: