[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Identifying base version-no of all files in a branch

From: Arthur Barrett
Subject: RE: Identifying base version-no of all files in a branch
Date: Fri, 3 Aug 2012 11:50:15 +1100


It's EASY to obtain the base revision number - it's hardcoded in the
branch number.


Base revision of CVSNT_BRANCH_2_8_01_3761 is

Yes it's different for every file (but that's stating the obvious, since
revision numbers are unique per file) - but it's not in any way
difficult to obtain.  There isn't a "comand line" to checkout the 'base
revision', but since mthread/rjkumr is writing an Eclipse extension, a
list of version numbers is all that is needed isn't it?  Once the list
of version numbers is obtained, retrieving the base revisions is easy in
a program/script...

> Hi,
>    Is there a CVS command that will provide me with version 
> no(base version) of all the files in a branch.
>    What I mean by 'base version' here is...the version no of 
> all the files in a branch..when the branch was first created.
>    I want to create a plugin in Eclipse...through which I can 
> retrieved the base version no of all the files in a branch.
>    Thanks every one in advance

Better to replace 'all' with 'each' in your question - I think that
distiction is the cause of the confusion.

I've added an enhancement request for this to command line CVSNT:

cvs co -r :CVSNT_2_0_x
cvs diff -r :CVSNT_2_0_x


Arthur Barrett
CVS Suite (CVSNT) 
Product Manager

> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
> org] On Behalf Of Larry Jones
> Sent: Friday, 3 August 2012 6:23 AM
> To: Bulgrien, Kevin
> Cc: address@hidden
> Subject: Re: Identifying base version-no of all files in a branch
> Bulgrien, Kevin writes:
> > 
> > The list archives contain threads that discuss a number of ideas
> > about how one might to analytically determine this information.
> > Some of these threads deal with trying to find the time/date
> > that a branch was created, but that is very much the same kind
> > of issue.
> No, it's not.  CVS knows, absolutely and for sure, what the base
> revision of the branch is in each file -- branches wouldn't work if it
> didn't.  But it has no concept of *when* the branch was created; it
> could be different for each and every file.
> -- 
> Larry Jones
> I don't need to do a better job.  I need better P.R. on the job I DO.
> -- Calvin

reply via email to

[Prev in Thread] Current Thread [Next in Thread]