[Bf-blender-cvs] [1150dcf93ee] master: make_update: quiet warning when SVN lib/ contains hidden files

Campbell Barton noreply at git.blender.org
Wed Aug 10 04:11:30 CEST 2022


Commit: 1150dcf93ee743fa1d7d1da72cc0f5f07cfd96bf
Author: Campbell Barton
Date:   Wed Aug 10 10:19:26 2022 +1000
Branches: master
https://developer.blender.org/rB1150dcf93ee743fa1d7d1da72cc0f5f07cfd96bf

make_update: quiet warning when SVN lib/ contains hidden files

make_update attempted to update hidden local files, skip them instead.

===================================================================

M	build_files/utils/make_update.py

===================================================================

diff --git a/build_files/utils/make_update.py b/build_files/utils/make_update.py
index bf140812ebb..254cccda301 100755
--- a/build_files/utils/make_update.py
+++ b/build_files/utils/make_update.py
@@ -110,6 +110,9 @@ def svn_update(args, release_version):
                 if not make_utils.command_missing(args.svn_command):
                     call(svn_non_interactive + ["cleanup", lib_dirpath])
                 continue
+            elif dirname.startswith("."):
+                # Temporary paths such as ".mypy_cache" will report a warning, skip hidden directories.
+                continue
 
             svn_dirpath = os.path.join(dirpath, ".svn")
             svn_root_dirpath = os.path.join(lib_dirpath, ".svn")



More information about the Bf-blender-cvs mailing list