Subclipse 中的箭头图标是什么意思?

发布于 2024-09-27 07:45:18 字数 648 浏览 1 评论 0原文

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

outgoing

我不是在问基本文件图标,我知道那些(HTML 文件和 Java 源文件)。我问的是向右指向的深灰色箭头,它们被标记为“传出”。这意味着什么?从 IDE 传出到存储库,还是从存储库传出到 IDE?为什么箭头内有减号?有时,我会看到加号;其他时候,只是空箭头。有什么区别?

还有向左的蓝色箭头和双头红色箭头;这些是什么意思?当它们包含其他符号(例如 -+)时该怎么办?

注意:这个问题已被大幅编辑。通常我不会改变那么多,但它几乎没有任何活动,而且是一个骗局。最初的问题要求一个“图标词汇表”来解释所有或大部分 Subclipse 的图标,类似于 这个适用于 Eclipse。我仍然很想知道其中之一,但似乎没有。

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

outgoing

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

榆西 2024-10-04 07:45:18

使用 Subversion 存储库时,远程更改(存储库上的更改)是传入更改(远程 → 本地),而本地更改是传出更改(本地 → 远程)。

在比较本地副本和远程副本的视图中,传入更改用蓝色向左箭头表示,而传出更改用灰色向右箭头表示。这些箭头可以被修饰以指示更具体的操作。

另一方面,Package Explorer 视图使用一组不同的代表其本地状态的图标来指示文件的状态。这些图标是最常见的,所以让我们从它们开始:

Ignored File- A文件被版本控制忽略。您可以通过转至窗口 → 首选项 → 团队 → 忽略的资源来控制将忽略哪些资源。
Unversioned File- 不受版本控制的文件。这些通常是您尚未提交到存储库的新文件。
New File- 需要添加到远程存储库的版本化文件。这些通常是您已重命名或移动到其他目录的文件。
已删除文件- 已删除的文件夹。这些是您在本地删除但尚未将更改提交到存储库的文件夹。请注意,在本地删除文件时,文件通常会从视图中删除,因此通常看不到带有此图标的文件。
同步文件- 没有本地更改的文件。
Local Changes- 包含本地未提交更改的文件。
锁定文件- A 锁定文件。
Needs Lock- 需要锁定才能编辑的文件。这些通常是不容易合并的文件(即二进制文件),但可能有许多编辑器。当文件的 svn:needs-lock 属性被设置时,它需要一个锁,Subversion 将尝试使这些文件在文件系统中只读,以强制执行正确的锁协商。
冲突文件- 冲突文件。这些通常是存在提交/更新冲突的文件,您将其标记为稍后解决。
树冲突文件- 存在树冲突的文件。这些通常是具有本地更改的文件,但自上次本地副本更新以来已在存储库中移动、删除或重命名。
外部文件- 项目外部的文件。链接的外部文件无法提交到存储库。
切换文件Switched File 2- 已已切换。这些文件属于与其本地父目录不同的工作副本。

在同步视图中(例如,通过与存储库同步提交),如前所述,有一些图标指示发生更改的方向以及有关的附加信息那个改变。这些描述如下:

传出
Commit Changes- 内容已被修改并将提交到存储库的文件。< br>
Commit Addition- 将新添加到存储库中的文件。在移动或重命名文件的情况下,这可能与文件删除同时发生。
Commit Removal- 将从存储库中删除的文件。在移动或重命名文件的情况下,这可能与文件添加同时发生。
Property Change- 带有 属性更改,在“提交”对话框中。在“同步”选项卡上,属性更改当前反映为正常文件修改 (Commit Changes) 。

传入
Remote Changes- 一个文件,其内容更改已提交到存储库,并将应用于本地副本。
Pull Addition- 将从存储库添加到本地副本的新文件。与添加传出文件一样,这可能是移动或重命名的结果。
Pull Removal- 将从本地副本中删除的文件,因为它已从存储库。与传出文件删除一样,这可能是移动或重命名的结果。

冲突
Conflicting Versions- 本地副本和存储库中均已单独更改的文件,导致解决冲突的需要。解决此问题需要打开冲突视图或在本地或远程强制覆盖更改。
同步树冲突- 具有 树冲突。当一端(本地或远程)的文件发生新更改,而另一端的文件被移动、删除或重命名时,可能会发生这种情况。

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

Synchronize Source- 将本地副本与当前选定的副本同步单击时存储库。从下拉列表中进行选择可以在不同的远程代码库之间进行切换。
显示传入- 仅显示传入更改(远程 → 本地)。
Show Outgoing- 仅显示传出更改(本地 → 远程)。
显示传入和传出- 显示传入和传出更改(远程 ↔ 本地)。
显示冲突- 显示冲突的更改。
Update Incoming- 在提示后使用传入的更改更新所有本地资源。
Commit Outgoing- 打开提交对话框以提交所有传出更改。
显示变更集- 按修订版分解变更列表。

还有一些其他未涵盖的视图具有附加图标,但这应该是一个好的开始。如果有任何重要的遗漏,或者这些描述似乎与您的实际体验有所不同,请告诉我。

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:

Ignored File- A file ignored by version control. You can control what resources will be ignored by going to Window → Preferences → Team → Ignored Resources.
Unversioned File- A file not under version control. These are typically new files that you have not committed to the repository yet.
New File- 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.
Deleted File- 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.
Synchronized File- A file with no local changes.
Local Changes- A file with local, uncommitted changes.
Locked File- A locked file.
Needs Lock- 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.
Conflicted File- A conflicted file. These are typically files that had a commit/update conflict that you marked to resolve later.
Tree Conflicted File- 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.
External File- A file that is external to the project. Linked external files cannot be committed to the repository.
Switched FileSwitched File 2- 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
Commit Changes- A file whose contents have been modified and will be committed to the repository.
Commit Addition- 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..
Commit Removal- 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.
Property Change- A file with property changes, in the Commit dialog. On the Synchronize tab, property changes are currently reflected as a normal file modification (Commit Changes).

Incoming
Remote Changes- A file that has content changes committed to the repository that will be applied to the local copy.
Pull Addition- 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.
Pull Removal- 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
Conflicting Versions- 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.
Synchronization Tree Conflict- 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 (Synchronize Tab) with the following buttons:

Synchronize Source- Synchronizes the local copy with the currently selected repository when clicked. Selecting from the drop-down allows switching between different remote code bases.
Show Incoming- Shows only incoming changes (remote → local).
Show Outgoing- Shows only outgoing changes (local → remote).
Show Incoming and Outgoing- Shows both incoming and outgoing changes (remote ↔ local).
Show Conflicts- Shows conflicting changes.
Update Incoming- Updates all local resources with incoming changes after prompt.
Commit Outgoing- Brings up the commit dialog to commit all outgoing changes.
Show Changesets- 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文