all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* vc-hg modeline changed.
@ 2016-05-02 20:01 Uwe Brauer
  2016-05-05  9:15 ` SOLVED (was: vc-hg modeline changed.) Uwe Brauer
  0 siblings, 1 reply; 18+ messages in thread
From: Uwe Brauer @ 2016-05-02 20:01 UTC (permalink / raw)
  To: emacs-devel; +Cc: Daniel Colascione

[-- Attachment #1: Type: text/plain, Size: 1329 bytes --]


Hi

I just upgraded 25.5.1  via git pull and recompiling.

Then I noted (to my horror (personal opinion) that the behavior of
hg-modeline was changed.

The relevant log entry is this:

commit de76a167dc09dc695a5acebabb7ab354a6bf556e
Author: Daniel Colascione <dancol@dancol.org>
Date:   Mon Feb 8 10:52:54 2016 -0800

    Performance improvements for vc-hg
    
    Teach vc-hg how to read some Mercurial internal data structures,
    allowing us to avoid the need to run hg status -A, which is very slow
    for large repositories.  Fall back to running hg if anything looks
    funny.  vc-hg now puts the _working directory_ revision in the
    modeline instead of the file revision, which greatly improves
    performance and which allows us to again skip running hg in the case
    that we have an active bookmark.
    
Very well, now per default hg displays the tag (if there is any) of the
repo.

I wanted the old behavior and I thought I just set 
 vc-hg-use-file-version-for-mode-line-version to t.

But then HG-hash is displayed not HG-rev.
I don't want to start a flame war about the usefulness of the local rev number,
but for me it is *very* useful.

Please tell me how to obtain the old behavior.

I attach 3 screenshots:
The old one, the new one with the varible set to nil, and then to t.

regards

Uwe Brauer 



[-- Attachment #2: hg-modeline-hash.png --]
[-- Type: image/png, Size: 86715 bytes --]

[-- Attachment #3: hg-modeline-tag.png --]
[-- Type: image/png, Size: 86223 bytes --]

[-- Attachment #4: hg-modeline-rev.png --]
[-- Type: image/png, Size: 87842 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2016-05-06 13:00 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-02 20:01 vc-hg modeline changed Uwe Brauer
2016-05-05  9:15 ` SOLVED (was: vc-hg modeline changed.) Uwe Brauer
2016-05-05 11:26   ` Kaushal Modi
2016-05-05 16:10     ` SOLVED Uwe Brauer
2016-05-05 16:18       ` SOLVED Kaushal Modi
2016-05-05 16:41         ` SOLVED Andreas Schwab
2016-05-05 20:12     ` SOLVED Uwe Brauer
2016-05-06  6:27       ` SOLVED Eli Zaretskii
2016-05-05 20:50     ` SOLVED Uwe Brauer
2016-05-05 21:33       ` SOLVED Kaushal Modi
2016-05-06  7:53         ` SOLVED Uwe Brauer
2016-05-06  9:28           ` SOLVED Yuri Khan
2016-05-06 10:29             ` SOLVED Uwe Brauer
2016-05-06 10:45             ` SOLVED II (was: SOLVED) Uwe Brauer
2016-05-06 12:10             ` SOLVED Clément Pit--Claudel
2016-05-06 12:24               ` SOLVED Yuri Khan
2016-05-06 12:32                 ` SOLVED Clément Pit--Claudel
2016-05-06 13:00                   ` SOLVED Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.