Re: Odd CVS revision number

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Odd CVS revision number
Date: 2010-02-25 15:49:52
Message-ID: 20100225154952.GA3869@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan wrote:

> For some unknown reason, we have some version 2.x files in
> doc/src/sgml:
> <http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/>,
> which is why
> you saw this.

Most likely, somebody incremented the rev number by hand in the dawn of
time. Your doc also says:

It's easy to tell CVS to increment the first digit of the
revision number, provided that you're setting it to something
equal to or greater than the highest first digit of all
revisions of all files in the same directory. Just use the -r
flag on commit. For example:

cvs commit -r 2 <file>

where <file> currently has a revision of 1.<something>, will
check in that file with a new revision of 2.1.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dominik Sander 2010-02-25 15:52:32 Boolean partition constraint behaving strangely
Previous Message Fujii Masao 2010-02-25 15:45:41 Re: Streaming replication and pg_xlogfile_name()