Re: branch tip revision

"lucillek4" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.gui.user
Message-ID <[email protected]>
Thanks Rick for your reply.  Yes, cvs diff references the tip of the 
branch, but this seems to only work if the files are checked out, 
correct?

I want to run the script on the server side without checking out if 
possible.  I've realized that you can't just use the first 2 fields 
to identify a branch..  Multiple branches could have been created at 
the same branch point.  Haven't figured out how to traverse a branch 
(from branch point to tip) yet.

Maybe I'll just have to checkout..  would make it simplier.
Lucille Hughes
SCM
CQG, Inc.

--- In [email protected], "Rick Genter" <rgenter@...> wrote:
>
> Using the name of the branch tag in the cvs diff command references 
the
> tip of the branch, not the branch point.
> 
> --
> Rick Genter
> Principal Engineer
> Silverlink Communications
> <mailto:rgenter@...>
> (781) 425-5763
> 
> > -----Original Message-----
> > From: [email protected] [mailto:[email protected]] 
> > On Behalf Of lucillek4
> > Sent: Thursday, September 14, 2006 6:01 PM
> > To: [email protected]
> > Subject: [cvsgui] branch tip revision
> > 
> > Our setup:
> > client: Windows - W2K, XP, or Win 2003 server. 
> > WinCVS 2.0.3.1 (Build 1)
> > cvs.exe is CVSNT 2.0.51d
> > 
> > server: Centos 2.6.11
> > CVS 1.12.13
> > 
> > Using pserver connection.
> > 
> > Question: Is there a way to get the branch tip revision without 
> > doing a checkout?
> > 
> > We use Apache, with viewcvs.cgi, which will return just the 
revisions 
> > on a given branch, so I think there must be a way to get the tip 
or 
> > last revision on a given branch.
> > 
> > Using native rcs on the server I can:
> > rlog <file> | grep <branch>
> > get first two numeric fields
> > rlog <file> | grep <first_two_fields>
> > the last "revision <revision_number>" is the revision on the tip 
of 
> > the branch.
> > 
> > Is there a more straightfoward way to get it?
> > 
> > I want to be get "cvs diff" between two branches (processing all 
> > files in a module), but "cvs diff" requires revision numbers. 
Branch 
> > names will only give the branch point. Once I have the diff, 
there 
> > is further processing to determine lines of code changes.
> > 
> > Thanks for any input.
> > 
> > 
> > 
> >  
> >
>







 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/cvsgui/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/cvsgui/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.