make_update: quiet warning when SVN lib/ contains hidden files

make_update attempted to update hidden local files, skip them instead.
This commit is contained in:
Campbell Barton 2022-08-10 10:19:26 +10:00
parent 9ef0f25a80
commit 1150dcf93e
1 changed files with 3 additions and 0 deletions

View File

@ -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")