Subclipse中的箭头图标是什么意思? [英] What do the arrow icons in Subclipse mean?

查看:189
本文介绍了Subclipse中的箭头图标是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下屏幕截图中的图标是什么意思?这些图标来自Subclipse,Eclipse的SVN插件。





我不是在问基本文件图标,我知道那些(HTML文件和Java源文件)。我问的是右侧指向的深灰色箭头,标有外向。这意味着什么?从IDE转发到repo,还是从repo转发到IDE?为什么箭头内有减号?有时候,我会看到加号;其他时候,只是空箭头。有什么区别?



还有左箭头的蓝色箭头和双头红色箭头;那是什么意思?如果它们包含其他符号,例如 - +


注意:此问题已经过彻底编辑。通常我不会改变太多,但它几乎没有任何活动,而且是一个骗局。最初的问题要求提供一个图标词汇表来解释所有或大部分Subclipse的图标,类似于文件。

- 需要编辑锁的文件。这些通常是不易合并的文件(即二进制文件),但可能有许多编辑器。当设置了 svn:needs-lock 属性时,文件需要锁定,并且Subversion将尝试在文件系统中将这些文件设置为只读以强制执行正确的锁定协商。

- 冲突的文件。这些通常是您标记为稍后要解决的提交/更新冲突的文件。

- 具有树冲突的文件。这些文件通常是具有本地更改的文件,但自上次本地副本更新以来已在存储库中移动,删除或重命名。

- 项目外部的文件。链接的外部文件无法提交到存储库。

- 一个,在提交对话框中。在同步选项卡上,属性更改当前反映为正常文件修改( )。



传入

- 提交内容的更改的文件将应用于本地副本。

- 将从存储库添加到本地副本的新文件。与传出文件添加一样,这可能是移动或重命名的结果。

- 将从本地副本中删除的文件,因为它已从存储库中删除。与删除传出文件一样,这可能是移动或重命名的结果。



冲突

- 在本地副本和存储库中独立更改的文件,导致需要解决冲突。修复此情况涉及打开冲突视图或强制覆盖本地或远程更改。

- 具有树冲突。当一端(本地或远程)上的文件发生新的更改,并且另一端上的文件被移动,删除或重命名时,可能会发生这种情况。



最后,与存储库同步选项打开同步选项卡( ),带有以下按钮:



- 单击时将本地副本与当前选定的存储库同步。从下拉列表中选择允许在不同的远程代码库之间切换。

- 仅显示传入的更改(remote→ local)。

- 仅显示传出更改(本地→远程)。

- 显示传入和传出更改(远程和更新;本地)。

- 显示有冲突的变化。

- 在提示后更新传入更改的所有本地资源。

- 打开提交对话框以提交所有传出更改。

- 按修订版拆分更改列表。



还有一些其他视图没有覆盖有额外的图标,但这应该是一个良好的开端。如果有任何重要的遗漏,或者这些描述中的任何一个与您的实际经历有所不同,请告诉我。


What do the icons in the following screen capture mean? The icons are from Subclipse, an SVN plugin for Eclipse.

I'm not asking about the base file icons, I know those (HTML file and Java source file). I'm asking about the right-pointing dark gray arrows, which are labeled "outgoing." What does that imply? Outgoing from the IDE to the repo, or outgoing from the repo to the IDE? Why are there minus signs inside the arrows? Sometimes, I see plus signs instead; other times, just empty arrows. What's the difference?

There are also left-pointing blue arrows and double-headed red arrows; what do those mean? What about cases when they contain other symbols, like - and +?

Note: This question has been edited pretty drastically. Normally I wouldn't change so much, but it had nearly no activity and was a dupe. The original question asked for an "icon glossary" that would explain all or most of Subclipse's icons, similar to this one for Eclipse. I'd still love to know about one of those, but there just doesn't seem to be one out there.

解决方案

When working with the Subversion repository, remote changes (those on the repository) are incoming changes (remote → local), while local changes are outgoing changes (local → remote).

In views that compare the local and remote copies, incoming changes are denoted with a blue, left-facing arrow, while outgoing changes are denoted with a gray, right-facing arrow. These arrows may be decorated to indicate more specific operations.

The Package Explorer view, on the other hand, indicates a file's status with a different set of icons representing its local state. These icons are the ones most commonly seen, so let's start with them:

- 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 file that needs a lock to be edited. These are typically files that cannot easily be merged (i.e. binary files), but may have many editors. A file needs a lock when its svn:needs-lock property is set, and Subversion will attempt to make these files read-only in the file system to enforce proper lock negotation.
- 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.

In a synchronization view (e.g. via Synchronize with Repository or Commit), as previously described, there are icons which indicate which direction a change is occurring in as well as additional information about that change. These are described below:

Outgoing
- 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
- 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
- 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.

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.
- Breaks up the change lists by revisions.

There are a few other views which weren't covered that have additional icons, but this should hopefully be a good start. Let me know if there is anything important missing, or any of these descriptions seem to differ from your actual experience.

这篇关于Subclipse中的箭头图标是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆