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>2018-12-20 16:42:01 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-12-21 14:01:05 +0300
commite72f989cf49132c94be139705baf78228bea5d7b (patch)
treeede964c3d4ed1f99f0981287d1dd157eb4b31138 /build_files/windows
parentb52465bd32def94daa2113c308d78433eac6c628 (diff)
Update for moving master to blender2.7 branch.
Diffstat (limited to 'build_files/windows')
-rw-r--r--build_files/windows/update_sources.cmd8
1 files changed, 6 insertions, 2 deletions
diff --git a/build_files/windows/update_sources.cmd b/build_files/windows/update_sources.cmd
index 22d93fabb95..ef11909b93d 100644
--- a/build_files/windows/update_sources.cmd
+++ b/build_files/windows/update_sources.cmd
@@ -11,6 +11,10 @@ if "%GIT%" == "" (
goto EOF
)
"%GIT%" pull --rebase
-"%GIT%" submodule foreach git pull --rebase origin master
+"%GIT%" submodule update --init --recursive
+rem Use blender2.7 branch for submodules that have it.
+"%GIT%" submodule foreach "git checkout blender2.7 || git checkout master"
+"%GIT%" submodule foreach git pull --rebase origin
-:EOF \ No newline at end of file
+
+:EOF