How to obtain the branch name for a CVSTag object? [org.eclipse.team.cvs.core] [message #75815] |
Mon, 16 June 2003 15:39 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03528 seconds