English 中文(简体)
Subclipse中的箭头图标是什么意思?
原标题:What do the arrow icons in Subclipse mean?

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

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

还有向左指向的蓝色箭头和双头红色箭头;这些是什么意思?如果它们包含其他符号,如-+,情况会怎样?

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

最佳回答

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

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

另一方面,包资源管理器视图用一组不同的图标表示文件的本地状态,从而指示文件的状态。这些图标是最常见的图标,所以让我们从它们开始:

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 File Switched File 2 - A file that has been switched. These are files which belongs to a different working copy than their local parent directory.

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

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.

最后,与存储库同步选项打开“同步”选项卡(),并使用以下按钮:

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.

还有一些其他视图没有包含额外的图标,但这应该是一个良好的开端。如果有什么重要的东西遗漏了,或者这些描述中的任何一个似乎与你的实际经历不同,请告诉我。

问题回答

暂无回答




相关问题
Subclipse CollabNet is displaying a mystery icon decorator

The scenario: I m merging a series of cherry-picked revisions from an SVN branch into trunk. I m using the Subclipse CollabNet client to do the merge. Everything works great, except that in addition ...

Error getting SVN repo of Liferay in Eclipse

Im using Eclipse Galileo and have installed Subclipse. I looked at the svn repo url at http://www.liferay.com/web/brian.chan/blog/-/blogs/changes-to-anonymous-access-to-liferay-s-svn and then tried to ...

Need help configuring external diff with Eclipse

I am trying to set up my dev environment and I got SVN running with Eclipse on my mac (with Subclipse). However, when I click on a file I ve changed and go to Compare With -> Latest From Repository, I ...

Problem checking out svn repo with subclipse

I have an svn repo that looks something like the following: TRUNK/ trials/ <- this is a java package <a bunch of java files> When I check this out with eclipse through ...

subclipse override and commit?

using subclipse, how do i commit my older unchanged file over someone else s bodged-up newer version of the file? i seem to remember there being an override and commit option in older versions, or ...

Subclipse can t rename file (OS X)

I can t perform any Subversion operations on my Eclipse project as Subclipse can t rename a file. The error is: Caused by: org.tigris.subversion.javahl.ClientException: svn: Cannot rename file /...

Subclipse - Checkout SVN repository into a non-root folder

Is there any way to make subclipse checkout a repository into a non-root folder of a project. In particular, I want to checkout into folder src/wavedev rather than just to the project root.

热门标签