[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A little suggestion
From: |
Giorgos Keramidas |
Subject: |
Re: A little suggestion |
Date: |
Tue, 05 Jan 2010 23:26:36 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (berkeley-unix) |
On Tue, 5 Jan 2010 11:40:36 +0100, Lennart Borgman <address@hidden> wrote:
> On Tue, Jan 5, 2010 at 11:35 AM, Angelo Graziosi
> <address@hidden> wrote:
>> In Emacs, Help | About Emacs, there is written:
>>
>> "GNU Emacs 23.1.91.1 (i686-pc-cygwin, GTK+ Version 2.18.3)
>> of 2010-01-05 on..."
>>
>> Why, in the development stage, not adding the revision number? i.e.:
>>
>> "GNU Emacs 23.1.91.1 rev. 99259..."
>>
>> In GCC, for example, this happens.
>
> I wonder if it is possible? Is it well defined?
>
> Perhaps the beginning and ending time of the checkout could be used
> instead? But I wonder if they are available either.
A revision number like 2100 is *not* well-defined in a DVCS. But there
is a revision identifier that includes a hash we could probably use:
% address@hidden:/bzr/emacs/gker$ bzr log --limit 1 --show-ids .
% ------------------------------------------------------------
% revno: 99248
% revision-id: address@hidden
% ...
The `revision-id' value is arguably something that may be useful to have
in `M-x emacs-version' output. At least for non-release builds of Emacs.