Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Michel-Lemieux2002-04-17 17:45:14 +0000
committerJean Michel-Lemieux2002-04-17 17:45:14 +0000
commit9dd78c4046fa03cb66bcc4e46afb5bad27e94b42 (patch)
tree98bbffc3f2828e833bc5d40febafe10cd3201d59
parent127b4e9e279f024cfbc9e48d150ee9eff1ee5c53 (diff)
downloadeclipse.platform.team-9dd78c4046fa03cb66bcc4e46afb5bad27e94b42.tar.gz
eclipse.platform.team-9dd78c4046fa03cb66bcc4e46afb5bad27e94b42.tar.xz
eclipse.platform.team-9dd78c4046fa03cb66bcc4e46afb5bad27e94b42.zip
Bug 13968: All tags shown in properties as Branch
-rw-r--r--bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSFilePropertiesPage.java17
1 files changed, 3 insertions, 14 deletions
diff --git a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSFilePropertiesPage.java b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSFilePropertiesPage.java
index b86e5401c..29877cb41 100644
--- a/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSFilePropertiesPage.java
+++ b/bundles/org.eclipse.team.cvs.ui/src/org/eclipse/team/internal/ccvs/ui/CVSFilePropertiesPage.java
@@ -80,20 +80,9 @@ public class CVSFilePropertiesPage extends PropertyPage {
if (tag == null) {
createLabel(composite, Policy.bind("CVSFilePropertiesPage.none")); //$NON-NLS-1$
} else {
- switch (tag.getType()) {
- case CVSTag.HEAD:
- createLabel(composite, tag.getName());
- break;
- case CVSTag.VERSION:
- createLabel(composite, Policy.bind("CVSFilePropertiesPage.version", tag.getName())); //$NON-NLS-1$
- break;
- case CVSTag.BRANCH:
- createLabel(composite, Policy.bind("CVSFilePropertiesPage.branch", tag.getName())); //$NON-NLS-1$
- break;
- case CVSTag.DATE:
- createLabel(composite, Policy.bind("CVSFilePropertiesPage.date", tag.getName())); //$NON-NLS-1$
- break;
- }
+ // In an entry file we can't differentiate branch and version tags. They both appear
+ // as T<tagName>. Instead just display the tag name to the user.
+ createLabel(composite, tag.getName());
}
// Permissions

Back to the top