summaryrefslogtreecommitdiff
path: root/test/buildtool/build_engine/expression/expression.test.cpp
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2022-06-29 17:45:52 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2022-06-30 12:29:13 +0200
commitb6d986f99418ae6aba0576c26d2272e0d6af27d1 (patch)
tree7f8e3df0b84192ec81877587c27cbcf883a7da56 /test/buildtool/build_engine/expression/expression.test.cpp
parent2cb56aeb16db8f3b10ee8760789eb2088912294c (diff)
downloadjustbuild-b6d986f99418ae6aba0576c26d2272e0d6af27d1.tar.gz
just-mr: retry removal of temporary directories
When converting a directory to git, just-mr.py shells out to git to to the actual conversion. However, not in all cases git waits for its children, in particular when deciding to implicitly run git-gc ("Auto packing the repository in background for optimum performance.") This causes problems, as we assume that after git finishes we safely can remove the temporary directory from which we pulled; however, the shutils.rmtree function we call for this assumes the directory to be removed not to be changed by other processes---like git removing the file gc.pid. Work around this, by retrying the removal of no longer needed temporary directories.
Diffstat (limited to 'test/buildtool/build_engine/expression/expression.test.cpp')
0 files changed, 0 insertions, 0 deletions