[Top][All Lists]

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

Re: address@hidden

From: Lars Magne Ingebrigtsen
Subject: Re: address@hidden
Date: Mon, 01 Dec 2014 23:21:29 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

"Eric S. Raymond" <address@hidden> writes:

> Lars Magne Ingebrigtsen <address@hidden>:
>> > Now I need to try to figure out (a) why removing it broke things, and 
>> > (b) why it disn't break anything where I coulse see it.  That is 
>> > concerning.
>> It's because `(vc-bzr-file-name-relative "~/rmz.jpg")' returns nil for
>> me.  What does it say for you?
> Same; nil.

Well, looking at the code, `vc-bzr-state' calls `vc-bzr-status' first,
which does `(regexp-quote (vc-bzr-file-name-relative file))', and if
that function returns nil for you, then `regexp-quote' should signal an
error, since that's not a valid input.

So `(vc-bzr-state file)' should signal an error for you.  :-)

Unless I'm totally misreading the code, which is, of course, possible.

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

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