summaryrefslogtreecommitdiffstats
path: root/subcmds/sync.py
diff options
context:
space:
mode:
authorDavid James <davidjames@google.com>2013-12-26 14:20:13 -0800
committerDavid James <davidjames@google.com>2013-12-26 14:59:00 -0800
commitbf79c6618e4f51467e1d8e73915a541df660a060 (patch)
tree0a27f673b1bccdd9fac1478e078dedd4a629aa7a /subcmds/sync.py
parentf045d49a71b64b854589c8821d8bf220c6ed9fd3 (diff)
downloadgit-repo-bf79c6618e4f51467e1d8e73915a541df660a060.tar.gz
Fix os.mkdir race condition.
This code checks whether a dir exists before creating it. In between the check and the mkdir call, it is possible that another process will have created the directory. We have seen this bug occur many times in practice during our 'repo init' tests. Change-Id: Ia47d39955739aa38fd303f4e90be7b4c50d9d4ba
Diffstat (limited to 'subcmds/sync.py')
0 files changed, 0 insertions, 0 deletions