On Tue, Aug 17, 2010 at 11:39 AM, Michael Albinus
<[email protected]> wrote:
> David Abrahams <[email protected]> writes:
>
>> Not sure if this is really a TRAMP problem, but...
>>
>> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>>   string-match("\\`.*--\\(.*--.*\\)--\\(v?\\).*-\\([0-9]+\\)\\'" nil)
>>   
>> vc-arch-mode-line-string("/scp:192.168.188.10:/export/home/vboxen/Public/dvd-installer.nsi.template")
>
> vc-arch-mode-line-string has the following implementation:
>
> (defun vc-arch-mode-line-string (file)
>  "Return string for placement in modeline by `vc-mode-line' for FILE."
>  (let ((rev (vc-working-revision file)))
>    (dolist (rule vc-arch-mode-line-rewrite)
>      (if (string-match (car rule) rev)
>          (setq rev (replace-match (cdr rule) t nil rev))))
>    (format "Arch%c%s"
>            (case (vc-state file)
>              ((up-to-date needs-update) ?-)
>              (added ?@)
>              (t ?:))
>            rev)))
>
> Obviously, rev is nil. It is computed via (vc-working-revision file),
> which shall call (vc-arch-working-revision file) internally. No idea,
> why it returns nil.
>
> It could still be Tramp, but maybe you ask the vc-arch wizards first.
>
> Best regards, Michael.

Maybe so, whoever they are :-)

The odd thing is, there's no Arch repo in sight.


-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to