diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2015-04-28 08:51:23 +0000 |
---|---|---|
committer | Baserock Gerrit <gerrit@baserock.org> | 2015-04-28 14:35:04 +0000 |
commit | 2594f6d52878ef78d9809c52c7aebbe52434dba9 (patch) | |
tree | 40133b142f60b37650e3dec2b50a2507033054f9 /morphlib/gitdir.py | |
parent | 154a760fb884cee14c2604b8bfbe52b0e7c0d4b1 (diff) | |
download | morph-2594f6d52878ef78d9809c52c7aebbe52434dba9.tar.gz |
get-repo: Delete partially cloned repo on errors
If a `morph get-repo` command hits an error or is interrupted while the
'git clone' operation is in progress, the partial clone is left around.
When the user tries to run the command again, they hit an error saying
the directory already exists.
Change-Id: Id4bb57f2136049ede0ea900e7e359255617427ec
Diffstat (limited to 'morphlib/gitdir.py')
0 files changed, 0 insertions, 0 deletions