现在的位置: 首页 > 综合 > 正文

svn 图标状态说明

2017年08月10日 ⁄ 综合 ⁄ 共 2622字 ⁄ 字号 评论关闭

最经都在用Svn,对他上面的很多状态图标不是很理解,看了看它的帮助文档,说的很清楚,特地截张图。。

Normal

A fresh checked out working copy has a green checkmark as overlay. That means the Subversion status is normal.

Modified

As soon as you start editing a file, the status changes to modified and the
icon overlay then changes to a red exclamation mark. That way you can easily see which files were changed since you last updated your working copy and need to be committed.

Conflicted

If during an update a conflict occurs then the icon changes to a yellow exclamation
mark.

Readonly

If you have set the svn:needs-lock property on a file, Subversion makes that file read-only until you get a lock on that file.
Such files have this overlay to indicate that you have to get a lock first before you can edit that file.

Locked

If you hold a lock on a file, and the Subversion status is normal, this icon
overlay reminds you that you should release the lock if you are not using it to allow others to commit their changes to the file.

Deleted

This icon shows you that some files or folders inside the current folder have been scheduled to be deleted from
version control or a file under version control is missing in a folder.

Added

The plus sign tells you that a file or folder has been scheduled to be added to
version control.

Ignored

The bar sign tells you that a file or folder is ignored for version control
purposes. This overlay is optional.

Non-Versioned

This icon shows files and folders which are not under version control, but have not been ignored. This overlay is optional.

__________________________________________________________________________

1.常规(就是正常):文件夹上面一个绿色圆中带一个白色勾。

2.修改(常规的文件被修改了):文件夹上面一个红色圆中带一个白色感叹号。

3.冲突(你提交的文件与配置库中的文件有相同的部分):文件夹上面一个黄色三角形中带一个褐色感叹号。

4.只读(只能浏览):文件夹上面一个深灰色中带一个白色勾。

5.已删除(配置库中已被删除):文件夹上面带一把红色X

6.锁定(文件被锁住了):文件夹上面带一把黄色锁

7.增加(添加文件到配置库):文件夹上面带一把蓝色大“”号。

8.忽略:文件夹上面一个灰色圆中带白色的一横。

9.无版本控制:文件夹上面一个蓝色圆中带一个白色“?”号。

以上是拿文件夹举例,如果是图片或者doc,就会是图片或者doc上带以上9中状态。

 

a.也可以去tortoiseSVN 看。鼠标右键空白处tortoiseSVN—>settings  会弹出设置窗口, 英文好的直接点击Icon Overlays下的Icon Set,在窗体右侧可以看到图标的各种状态说明,

b.想看中文的朋友,可以点击General,然后再窗右侧体中的 Language:选择简体中文,再点击右下角的应用,和确定;再次重复a步骤操作。

———————————————————————————————————————————————

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

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

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

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

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

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

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

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

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

__________________________________________________________________________

U:表示从服务器收到文件更新了
G:表示本地文件以及服务器文件都已更新,而且成功的合并了 
其他的如下:
A:表示有文件或者目录添加到工作目录
R:表示文件或者目录被替换了.
C:表示文件的本地修改和服务器修改发生冲突

转载自:http://joeycola.blog.sohu.com/139248617.html

http://blog.csdn.net/hack517/article/details/8837855

抱歉!评论已关闭.