Avoid for name clashes.
Up to now we got a name clash when importing a project
"first/second/third" after importing project "first" before.
The import status file was simply the project name. After importing
"first" there is the import status file
"$GERRIT_SITE/data/import/first". When importing "first/second/third"
the corresponding import status file
"$GERRIT_SITE/data/importer/first/second/third" cannot be created since
"$GERRIT_SITE/data/import/first" is already present as a file. Hence
it is impossible to create the required path to the import status file
of the later project.
Change-Id: Iac1e3e15d795177c43ab164082cdd95cf5d25d44
2 files changed