GNU bug report logs - #59232
27.2; vc-annotate on SVN does not process all lines

Previous Next

Package: emacs;

Reported by: Pierre Rouleau <prouleau001 <at> gmail.com>

Date: Sun, 13 Nov 2022 00:16:01 UTC

Severity: normal

Found in version 27.2

Full log


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

From: Dmitry Gutov <dmitry <at> gutov.dev>
To: Urban Engberg <urban <at> engbergs.dk>, 59232 <at> debbugs.gnu.org
Subject: Re: bug#59232:
Date: Wed, 20 Dec 2023 17:50:42 +0200
On 20/12/2023 14:41, Urban Engberg wrote:
> I have the same problem in Emacs 29.1. I believe it is due to the svn 
> backend being called asynchronously, with large file annotations thereby 
> being cut off before they are done.
> 
> The following change solves the problem for me:
> 
>     --- /home/ue/tmp/vc-svn.el.orig 2023-12-20 13:36:06.427678047 +0100
>     +++ /home/ue/tmp/vc-svn.el 2023-12-20 13:33:43.881904459 +0100
>     @@ -770,7 +770,7 @@
>       ;; Support for `svn annotate'
> 
>       (defun vc-svn-annotate-command (file buf &optional rev)
>     -  (apply #'vc-svn-command buf 'async file "annotate"
>     +  (apply #'vc-svn-command buf nil file "annotate"
>        (append (vc-switches 'svn 'annotate)
>        (if rev (list (concat "-r" rev))))))

This kind of change is bound to make worse the apparent performance of 
vc-annotate with SVN. So it would be great to understand the issue of 
the problem first.

Is that a network error? Do you see the same problem with your corporate 
repo when calling the respective command in the command line?

Worst case, we could create a user option, to only be used in affected 
projects.




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

Previous Next


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