[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: CVS: how to delete revisions ?

On Tue, 01 Apr 2003 15:14:04 +0200, Christian Andersch wrote:

> Okay, somehow I managed to set up a CVS server under WinXP ;-)
> 
> I shared a project into it.
> Checking in single files using  the "commit" command and checking them
> out with "replace with... revision" works fine.
> 
> 2 questions:
> 
> 1. How can I remove some revisions to clean up the repository ?

You really don't want to do this. The reason revision control systems
exist to keep all previous versions, so you can always go back to a
previously committed version. 


> 2. How do manage to upgrade the version number of my soruce code to
> "2.0" and so on ? Up to now, it is automatically numbered "1.1", "1.2",
> "1.3"
etc.

You don't want to do this either. The revision number is a unique ID
(modulo different files) that CVS generates for each commit of a given
file. What you might want to do is to 'tag' which way to give a symbolic
name to a particular set of files. 

For example, when a team releases a version of a project in CVS, they
might create a tag called RELEASE_2_1_0 so it's always possible to load
that version out of the repository in the future.

mike

> Christian