Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How to set major version for CVS
How to set major version for CVS [message #156777] Wed, 14 June 2006 14:38 Go to next message
Eclipse UserFriend
Originally posted by: standafakr.centrum.cz

When I make cvs commit the minor version is incremented i.e. 1.6=>1.7
I need mechanism how to change major version number. ie 1.6 => 2.0
In fact I need to create new point from where all files in the repositary
will be numbered from 2.X. This version should stay in Head branch of CVS.
But I can not find any article or part of documentation how to do it and I
tried it in Eclipse but without succes.
Re: How to set major version for CVS [message #156817 is a reply to message #156777] Wed, 14 June 2006 18:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jdurren.comcast.net

I only know a way to set a TAG in cvs through Eclipse. However to manually
set the revision for files in cvs is fairly straight forward. However
maintaining you version by using the revision number is not recommended.
Having said that here goes.

cvs commit -r x.x *

sets the the revision to x.x for all files in the current directory and
all subdirectories. You must assign a number larger than the largest
revision number currently within the directory or it will fail for those
files. This should not be done on branches.

You will run

cvs update -A *

This removes the sticky tag set by the commit.
Re: How to set major version for CVS [message #156825 is a reply to message #156777] Wed, 14 June 2006 18:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cburgess.progressrail.com

Vojta Kulvait wrote:
> When I make cvs commit the minor version is incremented i.e. 1.6=>1.7
> I need mechanism how to change major version number. ie 1.6 => 2.0
> In fact I need to create new point from where all files in the
> repositary will be numbered from 2.X. This version should stay in Head
> branch of CVS.
> But I can not find any article or part of documentation how to do it and
> I tried it in Eclipse but without succes.
>

That's a function of CVS, not Eclipse. Have a look at Karl Fogel's book
at http://cvsbook.red-bean.com/, chapter 6, page 200. I don't know
if If you can do this inside Eclipse or not.
Re: How to set major version for CVS [message #157021 is a reply to message #156825] Thu, 15 June 2006 15:06 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse4.rizzoweb.com

Chuck Burgess wrote:
> Vojta Kulvait wrote:
>> When I make cvs commit the minor version is incremented i.e. 1.6=>1.7
>> I need mechanism how to change major version number. ie 1.6 => 2.0
>> In fact I need to create new point from where all files in the
>> repositary will be numbered from 2.X. This version should stay in Head
>> branch of CVS.
>> But I can not find any article or part of documentation how to do it
>> and I tried it in Eclipse but without succes.
>>
>
> That's a function of CVS, not Eclipse. Have a look at Karl Fogel's book
> at http://cvsbook.red-bean.com/, chapter 6, page 200. I don't know if
> If you can do this inside Eclipse or not.

If you read about CVS, you'll learn that its revision numbers are not
intended to be a "public" version numbering system. That is what
labels/tags are for. I'm pretty sure the CVS manual admonishes users not
to try to manipulate the revision numbers, even though it is technically
possible.

Hope this helps,
Eric
Previous Topic:writing a custom gdb launcher
Next Topic:Steps by Steps
Goto Forum:
  


Current Time: Thu Dec 26 14:50:36 GMT 2024

Powered by FUDForum. Page generated in 0.07244 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top