PDA

View Full Version : cvs, how to commit new version



Mr.Carramba
February 7th, 2008, 09:19 AM
Hi!

I have several branches of the same project and have been commiting frequently so no file versions look nasty..
like 1.4.2.3.2.4.5.36.7.11.2 etc .. this is really ugly and I would like to be able to change file version to for ex. 2 or 3 ..
but I haven't managed to do it,

Hope you can help me!

Edit: command cvs commit -r 2.0
returns error "cvs commit: Up-to-date check failed for" for all files

anbumanij
February 7th, 2008, 09:44 AM
Command is :


cvs commit <filename>

After Commiting you should update it using

go the directory

$var/www/html: cvs update <filename> or cvs update -d

Mr.Carramba
February 7th, 2008, 10:17 AM
Command is :


cvs commit <filename>

After Commiting you should update it using

go the directory

$var/www/html: cvs update <filename> or cvs update -d

you don't have to specify file name to commit changes, if you are in working directory, it's enough to use update and all files with changes will by commited