svn 图标所表示的意思

来源:互联网 发布:淘宝客域名注册技巧 编辑:程序博客网 时间:2024/03/29 04:24

原文路径:http://g.kehou.com/t1033762249.html

绿色的勾:图标表示这是一个最新取出的工作副本,他的Subversion状态是normal。

灰色的勾:灰色图标表示”只读”,如果你给一个文件设置了svn:needs-lock属性,Subversion会让此文件只读,直到你获得文件锁。只读文件具有这个重载图标来表示你必须在编辑之前先得到一个锁。

红色感叹号:当你开始编辑一个文件,这个文件的状态就会变成modified,图标也会变成红色圆圈带一个感叹号。这样你就可以轻易的知道自从上次更新以来都有修改过哪些文件,需要提交哪些文件。

黄色感叹号:三角符号带感叹号,表示在一次update中产生了一个冲突(conflict)。

蓝色加号:意味着这个文件或文件夹已经被计划加入到版本控制之下。

红叉叉:表示相应文件或文件夹被计划删除(deleted),或者表示文件缺失。

灰色一行:表示不受版本控制,忽略版本控制。

蓝色问号:暂时还没收到版本的控制,但是没有被忽略。

锁扣:表示文件被锁定,他的Subversion状态是normal,必须先释放锁才能让别人的更改提交。

SVN图标无法正常显示问题解析:
1.
Myeclipse或者Eclipse中使用SVN插件作为版本控制器,一直以来都是正常使用的。但是突然哟一天,project下的files的版本号和提示图标都不见了,经过检查SVN是正常的。
开始的时候是把wrokspace下的.metadata删除,然后重新将project导入workspace下,即可正常使用。
但是现在发现一种更为方便的方法:
进入 到:windows->preferences->General->Appearance->LableDecorations勾选其中的SVN项即可。或者,还可以打开windows->preferences->Team->SVN中做相关设置。

2.最近更新了SVN软件,更新后发现,同步文件夹没有打对勾的标记,网上都说检查SVN设置:
右键->TSVN->设置->样式->重叠图标->Statuscache
里面有三个选项:
1Default
2Shell
3None
如果是前面两个,应该就有svn图标,如果是none,就没有。
但都解决不了问题,后来用安装文件的修复功能解决了此问题,即双击安装文件,选修复,之后重启系统就可以了。这似乎是SVN更新后的普遍问题。

  • 项目视图 The Package Explorer view

- 已忽略版本控制的文件。可以通过Window → Preferences → Team → Ignored Resources.来忽略文件。
A file ignored by version control. You can control what resources will be ignored by going to Window → Preferences → Team → Ignored Resources.

未纳入版本控制的文件,一般是新增,尚未提交的文件。
A file not under version control. These are typically new files that you have not committed to the repository yet.

- 本地重命名或移动到其它目录的文件。
A versioned file that needs to be added to the remote repository. These are typically files you have either renamed, or moved to a different directory.

- 本地删除的目录。
A deleted folder. These are folders that you have deleted locally without yet committing the changes to the repository. Note that files are usually removed from the view when they're deleted locally, so they are normally not seen with this icon.

- 没有任何改动的文件。
A file with no local changes.

- 发生改动,尚未提交的文件。
A file with local, uncommitted changes.

- 处于锁定状态的文件。
A locked file.

- 有冲突没有解决,就更新或提交的文件。
A conflicted file. These are typically files that had a commit/update conflict that you marked to resolve later.

- 有目录树冲突的文件。一般在最近一次更新后,资源库上的文件被移动、删除或重命名。
A file that has a tree conflict. These are typically files that have local changes, but have since been moved, removed, or renamed in the repository since the last local copy update.

- 引用外部项目的文件,不能提交到本项目的资源库里。
A file that is external to the project. Linked external files cannot be committed to the repository.

- 有分支版本的文件。这些文件属于另外一个不同的工作目录而不是属于本地的父目录。
A file that has been switched. These are files which belongs to a different working copy than their local parent directory.

  • 迁出 Outgoing view

- 本地有更改的文件。
A file whose contents have been modified and will be committed to the repository.

- 本地新增的文件。
A file that will be newly added to the repository. This may coincide with a file removal in cases where a file is moved or renamed..

- 本地删除的文件。
A file that will be removed from the repository. This may coincide with a file addition in cases where a file is moved or renamed.

- 本地文件属性发生变化了的文件。
A file with property changes, in the Commit dialog. On the Synchronize tab, property changes are currently reflected as a normal file modification ().

  • 迁入 Incoming view

- 需要更新的文件。 
A file that has content changes committed to the repository that will be applied to the local copy.

- 需要迁入的新增文件。
A new file that will be added to the local copy from the repository. Like the outgoing file addition, this may be the result of a move or rename.

- 资源库中删除了的文件。
A file that will be removed from the local copy because it has been removed from the repository. Like the outgoing file removal, this may be the result of a move or rename.

  • 冲突 Conflict view

- 资源库和本地同时有修改的文件。
A file that has been changed in both the local copy and repository independently, causing a need for conflict resolution. Fixing this condition involves opening up the conflict view or forcibly overwriting changes locally or remotely.

- 远程资源库上已经被重命名或移动、删除的文件。 
A file that has a tree conflict. This can occur when there are new changes to a file on one end (either local or remote), and the file is moved, removed, or renamed on the other.

  • “与资源库同步”选项打开的界面上的一些按钮 Others :

Finally, the Synchronize with Repository option opens the Synchronize tab () with the following buttons:

- 同步选中的文件,下拉箭头切换不同的远程目录。
Synchronizes the local copy with the currently selected repository when clicked. Selecting from the drop-down allows switching between different remote code bases.

- 只显示需要迁入的文件。

Shows only incoming changes (remote → local).

- 只显示需要提交的文件。

Shows only outgoing changes (local → remote).

- 同时显示需要更新或提交文件。

Shows both incoming and outgoing changes (remote ↔ local).

- 只显示有冲突的文件。

Shows conflicting changes.

- 更新全部文件。

Updates all local resources with incoming changes after prompt.

- 提交全部文件。

Brings up the commit dialog to commit all outgoing changes.

0 0
原创粉丝点击