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:
authorRay Molenkamp <github@lazydodo.com>2021-10-27 02:48:16 +0300
committerRay Molenkamp <github@lazydodo.com>2021-10-27 02:48:16 +0300
commit99a2a737061c7a02c03d7dac4d464c842f0eae63 (patch)
treeaaffdafc9d9e570ca3eef4d47da8f09dc4273e0f /make.bat
parent8d8ce6443530ac3e39276c7b7219e2a8ca61040f (diff)
win/make.bat: Add svnfix convenience target
SVN seems to die randomly *a lot* during large updates for some users, and I'm no closer to finding out why that keeps happening. "The internet" seems to imply some AV vendors may be at fault here but nothing conclusive. The solution however is repeatedly running `svn cleanup`and `svn update` in the library folder to repair the corruption and finish the update. This change adds a small convenience helper to automate the repair. This is done inside the make.bat code rather than the shared python based update code, since python lives in the library folder and may or may not exist when this corruption occurs.
Diffstat (limited to 'make.bat')
-rw-r--r--make.bat5
1 files changed, 5 insertions, 0 deletions
diff --git a/make.bat b/make.bat
index e94f7637512..d55b2cfd1b3 100644
--- a/make.bat
+++ b/make.bat
@@ -56,6 +56,11 @@ if "%BUILD_VS_YEAR%" == "" (
)
)
+if "%SVN_FIX%" == "1" (
+ call "%BLENDER_DIR%\build_files\windows\svn_fix.cmd"
+ goto EOF
+)
+
if "%BUILD_UPDATE%" == "1" (
call "%BLENDER_DIR%\build_files\windows\check_libraries.cmd"
if errorlevel 1 goto EOF