[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vc with svn and git

From: Michael Albinus
Subject: Re: vc with svn and git
Date: Sat, 25 Feb 2017 14:18:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> I don't know the situation with tarballs, but for Tramp it is
>> implemented and useful. Tramp's implementation uses some caching indeed
>> for performance improvement. See the comment in tramp-sh.el, heading
>> `tramp-sh-handle-vc-registered'.
> That's odd.  Why doesn't it rely on the file-process and
> start-file-process handlers?

For backends calling processes in order to check `vc-registered', it
doesn't optimize. But for other backends, like cvs or svn, which do not
call processes, it is *really* a performance boost.

IIRC, it was recommended by a Tramp user running svn. If you're
interested, I could try to find old messages comparing performance
numbers w/ and w/o this optimization. Ten years ago, I guess.

>         Stefan

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]