Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to obtain the branch name for a CVSTag object? [org.eclipse.team.cvs.core]
How to obtain the branch name for a CVSTag object? [org.eclipse.team.cvs.core] [message #75815] Mon, 16 June 2003 15:39
Eclipse UserFriend
Originally posted by: jan.karstens.web.de

I'm currently working on a small eclipse plugin that displays the
revision history as a version tree (http://versiontree.sourceforge.net).

The view is based on the same data structure as the Revision History
View (that is an array of CVSTags). To display branches in a meaningfull
way, I'd like to add the branch name to the corresponding branch. A
CVSTag object can be queried for its type (cvsTagObj.getType()).

My problem is the following. Let's assume this revision tree:

HEAD
|
1.1
|
1.2---|--------|
| |
1.2.1.1 1.2.4.1

Now, revision 1.2 will have two CVSTags of type CVSTag.BRANCH, one for
each branch (e.g. "branch1", "branch2"). The revisions 1.2.1.1 and
1.2.4.1 don't have any branch tags attached.

Here's my question: How can I match the branch tags to the branches?
Anyone out there with some experience in the org.eclipse.team.cvs.core
plugin?

Thanks in advance,

Jan
Previous Topic:Problem setting up eclipse on workstations
Next Topic:A question about cooperation between plugins...
Goto Forum:
  


Current Time: Fri Jul 25 18:49:46 EDT 2025

Powered by FUDForum. Page generated in 0.03528 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top