Search code examples
xcodesvnmemorycommitcommit-message

XCode: Commit failed in SVN : No space left on device


Hi,

I am committing my project in SVN using XCode. I do it successfully for quite a few months. But suddenly today, while committing, it is showing the following error :

The working copy "Classes" failed to commit files.

svn: Commit failed (details below) svn: Can't open '/usr/local/repos/Iphone/my_svn_repo/db/tempfile.tmp' : No space left on device

Is it a memory issue on the svn side or in the Iphone I am using ? How to avoid it ?

Thanks


Solution

  • Either your local disk or svn servers disk /usr partition is full. This prevents the svn command from creating a necessary temp file, therefore the commit fails.

    No space left on device is refering to the system device (hard drive - not iOS device) at /dev/hda1 (or whichever /dev/[hs]d[abcd..][1-..]).

    svn: Commit failed (details below) svn: Can't open '/usr/local/repos/Iphone/my_svn_repo/db/tempfile.tmp' : No space left on device
    

    Run df and mv files off /usr to clean out space on either your local disk or the svn server and run the svn ci ... again.