[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: cvs changing reversion number

On Sat, Aug 18, 2001 at 04:57:23AM +0530, P.Mahipal.rao merrily said:
> I am working on cvs and  I am able to set up cvs repository and
> its working fine. my problem is with naming convention
> lets say i am working on a file example.c  and i revised it 5 times
> when i run cvs status on example.c  it shows version 1.5
> now I want to make the change of version to example.c 2.0
> I tried with option rtag but it gives the chance to make a branch
> and release tag.
> any  help is appreciated

I made this mistake sometime back and somebody out here or at LIP ,
helped me see the light. 
The point to remember is that the CVS version numbers should not have
anything to do with your product version number.

In any typical project, before you want to send it for say an alpha release,
you would have different files in the project with different CVS
versions. Don't 
worry about that. Use "cvs tag" command to name all the files in the
project as "project-0.1-alpha" or something similar. When you want to
extract past releases, use these tags to recall files. Don't work with
CVS tags as such ... unless you speficially want to get your hands at
some CVS version.

- Sandip

Sandip Bhattacharya 
sandipb @ bigfoot.com