Subject: Re: bug#59232:

From: Dmitry Gutov <[email-masked]>
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.