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


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 22083 <at> debbugs.gnu.org, oub <at> mat.ucm.es
Subject: bug#22083: 25.0.50; hg: adding tag enhances the rev, modeline does not reflect
Date: Fri, 04 Dec 2015 18:13:09 +0200
> Cc: 22083 <at> debbugs.gnu.org, oub <at> mat.ucm.es
> From: Dmitry Gutov <dgutov <at> yandex.ru>
> Date: Fri, 4 Dec 2015 17:46:49 +0200
> 
> On 12/04/2015 05:37 PM, Eli Zaretskii wrote:
> 
> > RCS does.  SRC is just RCS in disguise, so it has them as well.
> 
> All right, then. But are they used often?

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.)

> Branches are a well-used feature in Git. If the majority of users of a 
> different VCS X are not aware of branches, and don't use them, showing 
> the current branch everywhere might not be very useful.

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

> > The revision number for a VCS that has it.  Something close, like the
> > output of "git describe", for those that don't.
> 
> 'git describe' output can be fairly long (e.g. 1.11.0-55-gegegege)

We could lose the gegegege part.

> for one, I'm not very comfortable with it (how useful exactly is it to 
> know that the branch is XY commits ahead of the latest tag?).

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




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

Previous Next


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