[cvsnt] Re: release option of commit command

abhishek jaiswal abhi658606 at yahoo.com
Thu Sep 2 08:12:01 BST 2004


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Hi everyone

I am very sorry for mentioning "release option of import command"
instead of "release option of commit command".

Please take a note that actually the command is

cvs commit -r 3.0

Sorry about that



> No, it will always be 1.1 when you add a new file.

But Mr. Berglund, it has been mentioned in the documentation that the
version of the new file added will be the highest of version of all
files.
And Since I am not able to bump up the revision of file, I am unable
to verify the above statement.

Anyway I will try to avoid these revision numbers.



regards
Abhishek




--- Bo Berglund <bo.berglund at telia.com> wrote:

> On Wed, 1 Sep 2004 20:41:56 -0700 (PDT), abhishek jaiswal
> <abhi658606 at yahoo.com> wrote:
> 
> >While reading the documentation, I found that the version no. of
> file
> >given by cvs can be 1.4, 2.5, 1.45 , 5.1 etc. Hence when you add a
> >new  file its version no. will be 5.1
> 
> No, it will always be 1.1 when you add a new file.
> 
> >
> >But when I made a project and started working on it. However I
> found
> >that whenever I made any changes to the file and commit it, the
> >version no incremented after decimal point only ( i.e form 1.9 it
> >changes to 1.10 and then 1.11 and so on and never becomes 2.1 ).
> Thus
> >I became curious regarding when and under what conditions does the
> >version no. changes to 2.1
> 
> It never does unless you use a special cvs command to force the
> revision to bump up. But there are cvs versions around that will
> fail
> on this command.
> 
> >
> >Also when we make a branch, its version no starts for 1.------ .
> 
> Actually the branch revisions are based on the revision it starts
> from. So if you have a file at 1.13 and you branch it, then the
> next
> commit will be 1.13.1.1
> If you then make another branch from the same base revision this
> branch will be 1.13.2.x and so the first commit gets 1.13.2.1
> 
> >Hence  can you help me to know when the version no of file changes
> >form 1.-- to 2.-- or 3.-- and so on.
> 
> Only by direct cvs command on the single file can you bump the
> major
> revision number.
> 
> Note that the revsion numbers are really not useful for anything
> major, for example you cannot check out or export a project using
> the
> revision number as a parameter. You must use a symbolic tag or a
> date
> for that. So you should use tags instead if you want to keep track
> of
> project file states.
> 
> 
> /Bo
> (Bo Berglund, developer in Sweden)
> _______________________________________________
> cvsnt mailing list
> cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs
> 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail



More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook