|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Identifying base version-no of all files in a branchHi,
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 |
|
|
RE: Identifying base version-no of all files in a branch> 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 The only simple way of doing this that I know about is to lay a non-branch tag down at the time the branch is created as a consistently applied best practice. 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. This message and/or attachments may include information subject to GD Corporate Policy 07-105 and is intended to be accessed only by authorized personnel of General Dynamics and approved service providers. Use, storage and transmission are governed by General Dynamics and its policies. Contractual restrictions apply to third parties. Recipients should refer to the policies or contract to determine proper handling. Unauthorized review, use, disclosure or distribution is prohibited. If you are not an intended recipient, please contact the sender and destroy all copies of the original message. |
|
|
Re: Identifying base version-no of all files in a branchmthread writes:
> > Is there a CVS command that will provide me with version no(base version) of all the files in a branch. No, I'm afraid not. The best you could do would be to parse the output of ``status -v'' or ``log'' to get the definition of the branch tag in each file and then infer the base version from it. -- Larry Jones These findings suggest a logical course of action. -- Calvin |
|
|
Re: Identifying base version-no of all files in a branchBulgrien, 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 |
|
|
|
|
|
Re: Identifying base version-no of all files in a branchArthur Barrett writes:
> > It's EASY to obtain the base revision number - it's hardcoded in the > branch number. Exactly (which is why it's nothing like trying to intuit the date/time the branch was created). For generality, you need to support normal RCS branches in addition to CVS magic branches, but that's just a small detail. > but since mthread/rjkumr is writing an Eclipse extension, a > list of version numbers is all that is needed isn't it? Correct, and that's what there's no easy way to do, you have to parse the output from ``status -v'' or ``log'', and that's not trivial. -- Larry Jones I like Mom to be impressed when I fulfill the least of my obligations. -- Calvin |
|
|
|
| Free embeddable forum powered by Nabble | Forum Help |