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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 22:19:16  来源:igfitidea点击:

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

xcodesvnmemorycommitcommit-message

提问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 /usrpartition is full. This prevents the svn command from creating a necessary temp file, therefore the commit fails.

您的本地磁盘或 svn 服务器磁盘/usr分区已满。这会阻止 svn 命令创建必要的临时文件,因此提交失败。

No space left on deviceis 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 dfand mvfiles off /usrto clean out space on either your local disk or the svn server and run the svn ci ...again.

运行dfmv关闭文件/usr以清除本地磁盘或 svn 服务器上的空间,然后svn ci ...再次运行。

回答by Dhanesh Agrawal

I also faced this problem. Using df -h I found that one of the mounted servers where we keep the repositories was full. I cleaned up space on this server and it was working again. Hope this helps.

我也遇到了这个问题。使用 df -h 我发现我们保存存储库的已安装服务器之一已满。我清理了这台服务器上的空间,它又开始工作了。希望这可以帮助。

enter image description here

在此处输入图片说明