XCode:在 SVN 中提交失败:设备上没有剩余空间
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7990743/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
XCode: Commit failed in SVN : No space left on device
提问by utsabiem
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 :
我正在使用 XCode 在 SVN 中提交我的项目。我成功地做了好几个月。但是今天突然,在提交时,它显示以下错误:
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
工作副本“类”无法提交文件。
svn: Commit failed (details below) svn: Can't open '/usr/local/repos/Iphone/my_svn_repo/db/tempfile.tmp' : 设备上没有剩余空间
Is it a memory issue on the svn side or in the Iphone I am using ? How to avoid it ?
这是 svn 端的内存问题还是我使用的 Iphone 的内存问题?如何避免呢?
Thanks
谢谢
回答by chown
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.
您的本地磁盘或 svn 服务器磁盘/usr
分区已满。这会阻止 svn 命令创建必要的临时文件,因此提交失败。
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-..]
).
No space left on device
指的是系统设备(硬盘驱动器 - 不是 iOS 设备)/dev/hda1
(或以 为准/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.
运行df
并mv
关闭文件/usr
以清除本地磁盘或 svn 服务器上的空间,然后svn ci ...
再次运行。