【SVN】常见图标含义

author:咔咔

wechat:fangkangfk

 

绿色的勾:图标表示这是一个最新取出的工作副本,他的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
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
svn客户端不显示图标时,可能出现以下几种情况: 1. 操作系统设置问题:首先需要确定操作系统是否已正确配置以显示svn图标。对于Windows操作系统,可以通过以下步骤进行检查和设置: - 在资源管理器中,点击“查看”选项卡,然后选择“选项”。 - 在弹出的“文件夹选项”窗口中,选择“查看”选项卡。 - 确保“隐藏已知文件类型的扩展名”选项未选中。 - 确保“显示文件名扩展名”选项已选中。 - 确保“始终显示图标,从不缩略图”选项未选中。 2. 客户端配置问题:可能需要检查svn客户端的配置文件是否正确设置了图标显示选项。可以按照以下步骤进行检查: - 打开svn客户端的配置文件,通常为.svn文件夹下的config文件。 - 检查该文件中的[miscellany]部分,确保enable-auto-props选项未被注释掉,并且以英文逗号分隔的auto-props列表中是否包含了图标文件的后缀名和相关配置。 3. 图标文件缺失或损坏:有时候svn图标文件可能因为某种原因而丢失或损坏,导致无法显示。可以尝试重新安装svn客户端或者替换图标文件。 4. 客户端版本问题:不同版本的svn客户端可能有不同的图标显示方式。如果是新安装的客户端,可以尝试查看官方文档或社区论坛,了解该版本的svn客户端图标显示方式。 如果以上解决方法无效,建议向svn客户端的技术支持或向相关社区寻求帮助,以获取更详细的指导。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

咔咔-

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值