SVN中的结果代码是什么意思?我需要一份简短的推荐信。
当前回答
还有一个“E”的状态
E =更新前文件已存在
如果您手动创建了通过执行更新创建的文件夹,则可能会发生这种情况。
其他回答
我通常通过gui(我的IDE或客户端)使用svn。因此,当我不得不求助于命令行时,我总是记不住代码。
我发现这个小抄很有帮助: 颠覆小抄
更多详细信息请参见SVNBook:“工作拷贝文件和目录的状态”。
常见状态:
U: Working file was updated G: Changes on the repo were automatically merged into the working copy M: Working copy is modified C: This file conflicts with the version in the repo ?: This file is not under version control !: This file is under version control but is missing or incomplete A: This file will be added to version control (after commit) A+: This file will be moved (after commit) D: This file will be deleted (after commit) S: This signifies that the file or directory has been switched from the path of the rest of the working copy (using svn switch) to a branch I: Ignored X: External definition ~: Type changed R: Item has been replaced in your working copy. This means the file was scheduled for deletion, and then a new file with the same name was scheduled for addition in its place. L : Item is locked E: Item existed, as it would have been created, by an svn update.
当你无法访问文档(SVNBook)时,输入(Linux):
svn help status | grep \'\?\'
svn help status | grep \'\!\'
svn help status | grep \'\YOUR_SYMBOL_HERE\'
或在~/中插入以下函数。Bashrc文件,如下所示:
svncode() {
symbol=$1
[ $symbol ] && svn help status | grep \'$(echo $symbol)\' || \
echo "usage: svncode <symbol>"
}
查看Subversion Book中的参考:“工作副本文件和目录的状态”
强烈推荐给任何使用SVN做任何事情的人。
你总是可以通过运行:
svn status --help
推荐文章
- 由于“之前的操作尚未完成”,Subversion被卡住?
- Subversion中的主干、分支和标签是什么?
- 哪些Eclipse文件属于版本控制?
- 命令行svn for Windows?
- 我如何移动一个文件(或文件夹)从一个文件夹到另一个在TortoiseSVN?
- 当“svn cleanup”失败时,我该怎么办?
- 在Subversion中,我可以是我的登录名以外的用户吗?
- 如何删除文件夹的Subversion控制?
- 如何通过命令行使用TortoiseSVN ?
- 如何从中继中正确创建SVN标签?
- SVN仍然存在冲突?
- 如何找到我的Subversion服务器版本号?
- 如何解决“本地编辑,传入删除更新”消息
- 如何在TortoiseSVN更改用户
- SVN中的结果代码是什么意思?