Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-vcm-dev] LogListener should preserve branching structure information

Hi

I send an email earlier that I would like the CVSTag[]
information to not only contain tag-name and tag-type
but also the branched off information in the case of
a CVSTag.BRANCH.

Currently LogListener discards that information (see
my email below).

The answer I got back (thank you) was :

  Thanks for the bug report, this has been fixed in the 
  latest integration build (I20020409).

but I can't see that this has changed.

Is it still on the list to-do?

Thanks
Nils

---------------------------------------------------
Hi

I've filed the request to improve the LogListener
to preserve branching information (since I'm writing
a graphical branch viewer). More @

http://bugs.eclipse.org/bugs/show_bug.cgi?id=13099

The information I'm looking for and is missing from
TagEntry right now could be easily computed on line
100 of TagListener:

 if (isBranch) {
   String branchTo;
   int lastDot = tagRevision.lastIndexOf('.');
   if (tagRevision.charA ... && tagRevision.charAt(..) == '.') {
     lastDot = lastDot - 2;
     branchTo = tagRevision.substring(0,lastDot) 
              + tagRevision.substring(lastDot+2);
   } else {
     branchTo = tagRevision;
   }
   tagRevision = tagRevision.substring(0, lastDot);
 }

Then this information can go into the CVSTag (or a sub-class)

Thanks!
Nils


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/


Back to the top