[Top][All Lists]

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

Re: Anybody any idea on how to set back a revision number?

From: Philip Lijnzaad
Subject: Re: Anybody any idea on how to set back a revision number?
Date: 30 Oct 2001 16:12:15 +0000

> Does anybody know how I can set the revision number to be 2.0 back
> from 3.0 ?

In general, the individual file revision numbers are, or should be, largely
irrelevant; the thing that is really needed are the tags (because in general,
the revision of one particular file is meaningless, since it has to be
consistent with many other files). 

But I can imagine that there may be cosmetic reasons for controlling this a

>   -- Do I need to create a script that I must run over the
> CVS repository?

You're in dire straits ... If nobody made any changes (let alone branches or
tags) until now, you may be able to get away with the following: The *,v
files in your repository will all start with the following line: head 3.0;

If you change this to 
head    2.1;

everywhere, things will probably  work out fine. If not (i.e., if there were
changes or tags, you just might be and globally change all the 3.x to 2.x
inside the 'administrative' part of the ,v files. But I'd be very, very wary
of this). 

But it might be a good idea to make a backup in case you screw up (and of
course, disable access to the repository and tell everyone to remove their
working copies).

The mail transport agent is not liable for any coffee stains in this message
Philip Lijnzaad, address@hidden European Bioinformatics Institute,rm A2-08
+44 (0)1223 49 4639                 Wellcome Trust Genome Campus, Hinxton
+44 (0)1223 49 4468 (fax)           Cambridgeshire CB10 1SD,  GREAT BRITAIN

reply via email to

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