RE: branch tip revision
"Rick Genter" <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.gui.user |
|---|---|
| Message-ID | <B9550324A189244E9C8922F053FF9905015552D0@ex01silver.silverlink.com> |
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:[email protected]> (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/