Go to file
David James bf79c6618e 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
2013-12-26 14:59:00 -08:00
docs Fix error in xml manifest doc. 2013-12-10 15:30:03 -08:00
hooks Update the commit-msg hook to the version from Gerrit 2.6 2013-11-29 19:17:23 +09:00
subcmds Add --archive option to init to sync using git archive 2013-12-10 08:27:07 +00:00
tests Fix inconsistent indentation 2012-11-14 11:38:57 +09:00
.gitattributes Protect line endings in shell scripts 2013-02-11 22:13:39 +01:00
.gitignore Add repoc to the .gitignore file 2013-03-08 01:18:08 +00:00
.project Set correct name in PyDev and Eclipse project config 2013-04-19 09:35:43 +09:00
.pydevproject Set correct name in PyDev and Eclipse project config 2013-04-19 09:35:43 +09:00
.pylintrc Disable warning about locally disabling pylint warnings 2013-05-15 18:06:06 +09:00
color.py Add nofmt_printer to color.py 2013-02-26 16:04:55 +09:00
command.py Optimise regex pattern compilation in FindProjects 2013-04-30 11:12:01 +09:00
COPYING Initial Contribution 2008-10-21 07:00:00 -07:00
editor.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
error.py Raise a NoManifestException when the manifest DNE 2012-11-15 18:50:11 -08:00
git_command.py Fix some python3 encoding issues 2013-11-21 06:03:22 +00:00
git_config.py Fix some python3 encoding issues 2013-11-21 06:03:22 +00:00
git_refs.py Fix some python3 encoding issues 2013-11-21 06:03:22 +00:00
git_ssh Don't allow git fetch to start ControlMaster 2010-10-29 08:15:14 -07:00
main.py Move Python version checking to a separate module 2013-05-23 07:28:53 +00:00
manifest_xml.py Add --archive option to init to sync using git archive 2013-12-10 08:27:07 +00:00
pager.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00
progress.py Support units in progress messages 2011-09-19 14:52:57 -07:00
project.py Add --archive option to init to sync using git archive 2013-12-10 08:27:07 +00:00
pyversion.py Move Python version checking to a separate module 2013-05-23 07:28:53 +00:00
repo Fix os.mkdir race condition. 2013-12-26 14:59:00 -08:00
SUBMITTING_PATCHES Add pylint configuration and instructions 2012-10-24 10:18:13 +09:00
trace.py Change print statements to work in python3 2012-11-13 17:33:56 -08:00