GNU bug report logs - #22083
25.0.50; hg: adding tag enhances the rev, modeline does not reflect

Previous Next

Package: emacs;

Reported by: Uwe Brauer <oub <at> mat.ucm.es>

Date: Thu, 3 Dec 2015 13:53:02 UTC

Severity: minor

Found in version 25.0.50

Full log


Message #47 received at 22083 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 22083 <at> debbugs.gnu.org, oub <at> mat.ucm.es
Subject: Re: bug#22083: 25.0.50; hg: adding tag enhances the rev, modeline
 does not reflect
Date: Fri, 4 Dec 2015 19:54:25 +0200
On 12/04/2015 06:13 PM, Eli Zaretskii wrote:

> I don't know.  But with RCS, the branch and the revision are the same
> thing, i.e. the revision number also encodes the branch.  So it isn't
> important really.  (Same with CVS.)

Ok. It will be important if we try to redefine 
vc-default-mode-line-string to return backend:branch:revision.

> I think all the 3 of the modern dVCSes have branches as very important
> feature and the users are aware of them.

Then we should try showing them. At first, maybe instead of the revision 
numbers.

>> 'git describe' output can be fairly long (e.g. 1.11.0-55-gegegege)
>
> We could lose the gegegege part.

gegegege can be immediately useful (one can pass it to 'git show', etc). 
It's the preceding part that doesn't look particularly useful to me.

> There's nothing else in Git that's comparable to a revision number, I
> think.

That's only if you expect the revision identifier to be a number. I 
don't see a lot of reasons to do that.




This bug report was last modified 9 years and 192 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.