[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CVS Version change?

From: Torbjörn Axelsson
Subject: Re: CVS Version change?
Date: 22 May 2001 17:08:23 +0200
User-agent: Gnus/5.0807 (Gnus v5.8.7) Emacs/20.4

Dirk Stoecker <address@hidden> writes:

> Hi,
> I need to change the version of one of my CVS files, as the version should
> be used later in the release version using an automated script.
> The "Open Source Development with CVS"-book only states, that this is
> seldom used and not explained. I also did not find it anywhere else.
> Can anyone tell me how to do this (please by email, as I'm not on the
> list)?
> Ciao
>  ____  _ _  ____  _ _    _ _  ____
> |    |  |  |    |  | \  / |  |    | the cool Gremlin from Bischofswerda
> |  __   |   ____|  |  \/  |  |    | WWW:
> |    |  |  |       |      |  |    | PGP key available on www page.
> |____| _|_ |____| _|_    _|_ |____| I hope AMIGA never stops making fun!


I haven't read the full "Open Source Development with CVS" but there
is a rather short and (in my opinion) clear explanation in the
Cederqvist manual (chapter 4.2 "Versions, revisions and releases",

Since the revision of a file can never be lowered and will increase
with each commit you are best off not using it for this purpose, I
would recommend the normal practice of using release tags (that is,
read the full chapter four of the Cederqvist manual). You can always
pass these tags on to the rest of your build system instead.

A short answer would be (same chapter, same document):
cvs commit -r <revision> <file>

Good luck!

[sending this to the list as well if anyone feels like correcting me]

reply via email to

[Prev in Thread] Current Thread [Next in Thread]