Skip to main content

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

Nils,

I think I misunderstood your request. There was a bug dealing with properly
extracting tags and I thought this is what you we're commenting on.
However, I now see that you are asking for an additional  feature of having
the root of a branch tag included in the tag. I should warn you that
although tags are retrieved for a single file, they are used for entire
folders and the info you want to add is file specific (i.e. There is no
file mentioned in CVSTag so we really can't include files specific
information in the tag). This must be considered when implementing a
solution. We will move the discussion to the bug you raised (bug
http://bugs.eclipse.org/bugs/show_bug.cgi?id=13099).

Thanks,
Michael Valenta



                                                                                                                                       
                      Nils Meier                                                                                                       
                      <nilsca@xxxxxxxxx>              To:      platform-vcm-dev@xxxxxxxxxxx                                            
                      Sent by:                        cc:                                                                              
                      platform-vcm-dev-admin@         Subject: [platform-vcm-dev] LogListener should preserve branching structure      
                      eclipse.org                     information                                                                      
                                                                                                                                       
                                                                                                                                       
                      10/04/2002 01:14 PM                                                                                              
                      Please respond to                                                                                                
                      platform-vcm-dev                                                                                                 
                                                                                                                                       
                                                                                                                                       



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/
_______________________________________________
platform-vcm-dev mailing list
platform-vcm-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-vcm-dev






Back to the top