SIGN IN SIGN UP

gh-89792: Prevent test_tools from copying 1000M of "source" in freeze test (GH-101837)

Prevent test_tools from copying 1000M of "source"

It doesn't need a git repo, just the checkout.  We skip .git metadata, Doc/build, Doc/venv, and `__pycache__` subdirs, that developers often have in their clients to reduce the size of the source tree copy ten-fold.

This should significantly reduce IO and presumably time on buildbots during this long test.
(cherry picked from commit 1d194235e4d5981b5fea25c75318d61189103a58)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
M
Miss Islington (bot) committed
d17cc3dfeb9c3d0eecea4405b1ee3d9e36a7e299
Parent: c5c1238
Committed by GitHub <noreply@github.com> on 2/12/2023, 5:18:07 AM