# git clone on out-of-space device causes incorrect errors

1 messages from 2014-01-29 to 2014-01-29. Participants: Armin Ronacher.
Thread: https://gitlist.dev/t/35751

## Armin Ronacher, 2014-01-29 12:48

Subject: git clone on out-of-space device causes incorrect errors
Message-ID: <52E8F89E.6090801@active-4.com>
URL: https://gitlist.dev/e/52E8F89E.6090801%40active-4.com

```
Hi,

When cloning onto a device that is out of space to fulfill the whole clone 
operation, git will report that the remove repository does not exist:

$ git clone https://github.com/mozilla/flask
Cloning into 'flask'...
remote: Repository not found.
fatal: repository 'https://github.com/mozilla/flask/' not found

This error is misleading.  As an example here is what hg does for the same 
situation:

$ hg clone https://bitbucket.org/dholth/wheel
destination directory: wheel
requesting all changes
adding changesets
adding manifests
adding file changes
transaction abort!
failed to truncate 00changelog.i
rollback failed - please run hg recover
abort: No space left on device: /Volumes/Disk Image/wheel/.hg/store/.fncache-bt6dzr


Regards,
Armin

```
