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.
其他回答
还要注意,第二列中的结果代码引用了文件的属性。例如:
U filename.1
U filename.2
UU filename.3
文件名。1:文件更新 文件名。原因2:更新了文件中的一个或多个属性(如svn:keywords) 文件名。3:文件和属性都更新了
查看Subversion Book中的参考:“工作副本文件和目录的状态”
强烈推荐给任何使用SVN做任何事情的人。
你总是可以通过运行:
svn status --help
更多详细信息请参见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.
还有一个“E”的状态
E =更新前文件已存在
如果您手动创建了通过执行更新创建的文件夹,则可能会发生这种情况。
推荐文章
- 如何删除SVN工作目录中的所有更改?
- 提交前将文件“unadd”到SVN
- 如何查看最近的SVN日志条目?
- 如何丢弃SVN签出中的本地更改?
- 从SVN存储库中删除文件而不删除本地副本
- 如何移动文件?
- 什么原因导致SVN错误“Not a working copy”?
- 提交指定文件
- 我怎么能得到'查找'忽略。svn目录?
- 由于“之前的操作尚未完成”,Subversion被卡住?
- Subversion中的主干、分支和标签是什么?
- 哪些Eclipse文件属于版本控制?
- 命令行svn for Windows?
- 我如何移动一个文件(或文件夹)从一个文件夹到另一个在TortoiseSVN?
- 当“svn cleanup”失败时,我该怎么办?