Subversion 状态符号“~"是什么意思意思? [英] What does the Subversion status symbol "~" mean?
问题描述
当我执行 svn status
时,我得到一个波浪号.
I am getting a tilde symbol when I do an svn status
.
这是在 XCode 中编辑后的项目输出.
Here is the output of the project after editing it in XCode.
svn status
M build/Currency_Converter.build/Currency_Converter.pbxindex/imports.pbxbtree
M build/Currency_Converter.build/Currency_Converter.pbxindex/pbxindex.header
M build/Currency_Converter.build/Currency_Converter.pbxindex/symbols0.pbxsymbols
~ build/Currency_Converter.build/Currency_Converter.pbxindex/strings.pbxstrings
M main.m
//more changed files
知道这是什么意思吗?似乎无法在 google 或任何 svn 备忘单上找到它.
Any idea what that means? Can't seem to find it on google or any of the svn cheat sheets.
有趣的是,我只编辑了 main.m,但有很多修改的文件.我不知道为什么会这样.任何人有使用 SVN 和 XCode 的任何提示吗?我应该只将源文件置于版本控制之下吗?
Interestingly, I only edited main.m, but there are lots of modified files. I don't know why that would be. Anyone have any tips for working with SVN and XCode? Should I only be putting my source files under version control?
由已在版本控制下的文件被另一种类型的文件替换引起.在这种情况下,strings.pbxstrings 曾经是一个文件,现在变成了一个目录.这个故事的寓意是不要将您的构建文件夹放入版本控制中.
Caused by a file that was already under version control being replaced by a file of another type. In this case, strings.pbxstrings used to be a file and now became a directory. Moral of the story is don't put your build folder into version control.
推荐答案
SVN Book 说:
项目被版本化为一种对象(文件、目录、链接),但已被不同类型的对象替换.
Item is versioned as one kind of object (file, directory, link), but has been replaced by different kind of object.
所以也许它最初是一个单独的文件,但您将其更改为目录或类似的内容?
So perhaps it was originally a single file, but you changed it to a directory, or something along those lines?
这篇关于Subversion 状态符号“~"是什么意思意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!