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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Sean Whitton <spwhitton <at> spwhitton.name>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#73604: closed ([PATCH] Properly operate on current fileset
 revision in vc-hg-print-log)
Date: Sat, 12 Oct 2024 08:58:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 12 Oct 2024 16:56:44 +0800
with message-id <87y12t1yyb.fsf <at> melete.silentflame.com>
and subject line Re: bug#73604: [PATCH] Properly operate on current fileset revision in vc-hg-print-log
has caused the debbugs.gnu.org bug report #73604,
regarding [PATCH] Properly operate on current fileset revision in vc-hg-print-log
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
73604: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=73604
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Spencer Baugh <sbaugh <at> janestreet.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Properly operate on current fileset revision in
 vc-hg-print-log
Date: Wed, 02 Oct 2024 15:21:20 -0400
[Message part 3 (text/plain, inline)]
Tags: patch


If hg log doesn't receive a -r argument, it logs starting from the
most recent commit created anywhere ("tip").  But vc-print-log is
supposed to log starting from the working revision (".").  Those are
usually the same, but not always; the current fileset might not even
exist in "tip".  Fix this by just logging "." if no START-REVISION is
passed to vc-hg-print-log.

* lisp/vc/vc-hg.el (vc-hg-print-log): If start-revision is nil,
reliably log the working revision.

In GNU Emacs 29.2.50 (build 3, x86_64-pc-linux-gnu, X toolkit, cairo
 version 1.15.12, Xaw scroll bars) of 2024-09-23 built on
 igm-qws-u22796a
Repository revision: 340ed90ce4518de238610461047b6c8767ca0cdc
Repository branch: emacs-29
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Rocky Linux 8.10 (Green Obsidian)

Configured using:
 'configure --with-x-toolkit=lucid --without-gpm --without-gconf
 --without-selinux --without-imagemagick --with-modules --with-gif=no
 --with-tree-sitter --with-native-compilation=aot
 PKG_CONFIG_PATH=/usr/local/home/garnish/libtree-sitter/0.22.6-1/lib/pkgconfig/'

[0001-Properly-operate-on-current-fileset-revision-in-vc-h.patch (text/patch, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Sean Whitton <spwhitton <at> spwhitton.name>
To: Spencer Baugh <sbaugh <at> janestreet.com>
Cc: Dmitry Gutov <dmitry <at> gutov.dev>, Eli Zaretskii <eliz <at> gnu.org>,
 73604-done <at> debbugs.gnu.org
Subject: Re: bug#73604: [PATCH] Properly operate on current fileset revision
 in vc-hg-print-log
Date: Sat, 12 Oct 2024 16:56:44 +0800
Hello,

Installed and closing -- thanks!

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