【SVN】常见图标含义

简介: 【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.


相关文章
|
机器学习/深度学习 TensorFlow 算法框架/工具
深度学习中的图像风格迁移
【9月更文挑战第26天】本文将探讨如何利用深度学习技术,实现图像风格的转换。我们将从基础的理论出发,然后逐步深入到具体的实现过程,最后通过代码实例来展示这一技术的实际应用。无论你是初学者还是有经验的开发者,都能在这篇文章中找到有价值的信息。让我们一起探索深度学习的奥秘吧!
|
人工智能 安全 Linux
【Linux】Linux之间如何互传文件(详细讲解)
【Linux】Linux之间如何互传文件(详细讲解)
|
弹性计算 运维 关系型数据库
云上部署环境(基础设施)的正确姿势——使用资源编排ROS进行基础设施的部署
![image.png](https://ata2-img.cn-hangzhou.oss-pub.aliyun-inc.com/66daa0b176da97de1dc8e66580fc0384.png) # 常见的部署问题 1. 多环境部署。根据实际开发的需要,一般至少需要准备3个环境:日常测试环境,部署预发环境,部署生产环境。 2. 多地域部署。对于云产品还需要支持多地域部署
|
消息中间件 数据可视化 关系型数据库
(3)sparkstreaming从kafka接入实时数据流最终实现数据可视化展示
1)我们通过kafka与各个业务系统的数据对接,将各系统中的数据实时接到kafka; 2)通过sparkstreaming接入kafka数据流,定义时间窗口和计算窗口大小,业务计算逻辑处理; 3)将结果数据写入到mysql; 4)通过可视化平台接入mysql数据库,这里使用的是NBI大数据可视化构建平台; 5)在平台上通过拖拽式构建各种数据应用,数据展示;
(3)sparkstreaming从kafka接入实时数据流最终实现数据可视化展示
|
Android开发
Android 事件分发机制详细解读
Android 事件分发机制详细解读
190 5
|
12月前
|
存储 JSON API
HTTP 请求与响应处理:C#中的实践
【10月更文挑战第4天】在现代Web开发中,HTTP协议至关重要,无论构建Web应用还是API开发,都需要熟练掌握HTTP请求与响应处理。本文从C#角度出发,介绍HTTP基础知识,包括请求与响应结构,并通过`HttpClient`库演示如何发送GET请求及处理响应,同时分析常见错误并提供解决方案,助你更高效地完成HTTP相关任务。
356 2
|
开发框架 前端开发 .NET
Visual Studio中的四款代码格式化工具
Visual Studio中的四款代码格式化工具
558 0
|
缓存 Ubuntu
Debian/Ubuntu清理硬盘空间
请注意,在执行清理操作时,务必小心核实要删除的文件,以免意外删除重要数据。 买CN2云服务器,免备案服务器,高防服务器,就选蓝易云。百度搜索:蓝易云
1288 5
|
Kubernetes 负载均衡 网络协议
浅入Kubernetes(8):外网访问集群
浅入Kubernetes(8):外网访问集群
2481 1
浅入Kubernetes(8):外网访问集群