GNU bug report logs - #70526
29.2; package-vc-upgrade failed with error message "File is not under version control"

Previous Next

Package: emacs;

Reported by: "Yi Yue" <include_yy <at> qq.com>

Date: Tue, 23 Apr 2024 05:16:02 UTC

Severity: normal

Found in version 29.2

Done: Philip Kaludercic <philipk <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


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

From: "Yi Yue" <include_yy <at> qq.com>
To: "Philip Kaludercic" <philipk <at> posteo.net>
Cc: 70526 <70526 <at> debbugs.gnu.org>
Subject: Re: bug#70526: 29.2;
 package-vc-upgrade failed with error message "File is not under
 version control"
Date: Wed, 24 Apr 2024 16:02:42 +0900
[Message part 1 (text/plain, inline)]
&gt; I am actually satisfied with this approach, and it seems reliable. &gt; &gt; &gt; &gt; As you suggested earlier, maybe we need to modify vc.el, making the restriction looser? &gt; If you can, try out the above patch and tell me if you end up having any &gt; issues, otherwise I don't think we need to adjust vc. Yes, it works as expected, thanks. But now it will create an additional empty buffer named "{pkg}*", {pkg} is the name of pacakge. So I suggest the following code: ------------------------------------------------------------------ (with-demoted-errors "Failed to fetch: %S"   (require 'vc-dir)   (let ((vcbuf (vc-dir-prepare-status-buffer                 (format " *vc-dir: %s*" pkg-dir)                 pkg-dir (vc-responsible-backend pkg-dir))))     (unwind-protect 	(with-current-buffer vcbuf           (vc-pull))       (kill-buffer vcbuf)))) ------------------------------------------------------------------- Anyway, I think this buffer doesn't matter. Both are OK. Regards Yi Yue
[Message part 2 (text/html, inline)]

This bug report was last modified 1 year and 24 days ago.

Previous Next


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