GNU bug report logs - #73604
[PATCH] Properly operate on current fileset revision in vc-hg-print-log

Previous Next

Package: emacs;

Reported by: Spencer Baugh <sbaugh <at> janestreet.com>

Date: Wed, 2 Oct 2024 19:22:02 UTC

Severity: normal

Tags: patch

Done: Sean Whitton <spwhitton <at> spwhitton.name>

Bug is archived. No further changes may be made.

Full log


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

From: Sean Whitton <spwhitton <at> spwhitton.name>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Dmitry Gutov <dmitry <at> gutov.dev>, 73604 <at> debbugs.gnu.org,
 sbaugh <at> janestreet.com
Subject: Re: bug#73604: [PATCH] Properly operate on current fileset revision
 in vc-hg-print-log
Date: Thu, 03 Oct 2024 15:04:51 +0800
Hello,

On Thu 03 Oct 2024 at 09:50am +03, Eli Zaretskii wrote:

>> From: Sean Whitton <spwhitton <at> spwhitton.name>
>> Cc: Spencer Baugh <sbaugh <at> janestreet.com>, 73604 <at> debbugs.gnu.org
>> Date: Thu, 03 Oct 2024 10:16:33 +0800
>>
>> Eli, can this go on emacs-30?
>
> Why is it important enough to install on emacs-30?  The situation
> sounds quite rare to me.

Yeah, it's relatively rare, but I was thinking that it would be
appropriate because of the simplicity of the fix.  Anyway, master is
fine, I just wanted to ask.

> Moreover, I'm not sure the change is correct in general.  If you
> invoke "C-x v l" with an argument, the prompt says "...(default: last
> revision)".  It says "last", and doesn't say anything about the
> working revision.  So I don't understand why you say the current
> operation of the command is incorrect even when the tip and the
> current working revision are different.  I think this is precisely a
> use case where the user should invoke the command with a prefix arg
> and specify the revision from which to start.

Well, the description of C-x v l is

    Show in another window the VC change history of the current fileset.

If the current fileset doesn't exist in tip, then we'd better not just
log tip.

Possibly the prompt should also change.  Let's see what Spencer thinks.

-- 
Sean Whitton




This bug report was last modified 225 days ago.

Previous Next


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