|
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:36:33 +0100 |
User-agent: | Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) |
Lars Magne Ingebrigtsen <address@hidden> writes: > Lars Magne Ingebrigtsen <address@hidden> writes: > >> This is the issue. > > Err. That was total nonsense -- I was edebugging two different > functions. Please ignore. :-) > > Now I'll try again to trace this... Ok. This is the change that bugs out: (defun vc-bzr-registered (file) "Return non-nil if FILE is registered with bzr." (let ((state (vc-bzr-state file))) (not (memq state '(nil unregistered ignored))))) This is the old version: (defun vc-bzr-registered (file) "Return non-nil if FILE is registered with bzr." (let ((state (vc-bzr-state-heuristic file))) (not (memq state '(nil unregistered ignored))))) So `vc-bzr-state-heuristic' was safe to call on a non-bzr file, while `vc-bzr-state' is not. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no
[Prev in Thread] | Current Thread | [Next in Thread] |