|
From: | Lars Magne Ingebrigtsen |
Subject: | Re: master 2a81c5d 1/2: Confine vc-stay-local to CVS, because it was unusable in SVN. |
Date: | Mon, 01 Dec 2014 20:28:04 +0100 |
User-agent: | Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
This is the issue. In vc-registered, we end up in this loop now: ;; There is no file name handler. ;; Try vc-BACKEND-registered for each handled BACKEND. (catch 'found (let ((backend (vc-file-getprop file 'vc-backend))) (mapc (lambda (b) (and (vc-call-backend b 'registered file) (vc-file-setprop file 'vc-backend b) (throw 'found t))) (if (or (not backend) (eq backend 'none)) vc-handled-backends (cons backend vc-handled-backends)))) ;; File is not registered. (vc-file-setprop file 'vc-backend 'none) nil))))) where we call each backend for each VC backend. This code used to look like: ;; vc-registered sets the vc-backend property (t (if (vc-registered file-or-list) (vc-file-getprop file-or-list 'vc-backend) nil))))) So the problem is just that the bzr handler bugs out when you call it on a file that isn't covered by bzr. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] | Current Thread | [Next in Thread] |