Copy perforce repo data for unit tests.
Review Request #14609 — Created Sept. 11, 2025 and submitted — Latest diff uploaded
The new unit tests that use a local p4d had an issue where the db.user
file got updated (likely with a login timestamp) when running the tests.
In order to prevent this file from getting updated every time we run
tests, we now make a copy of the repo data for the duration of the test
suite.
Ran test_perforce.py tests and saw that db.user was no longer modified
in my local checkout.