Subject: bug#18461: `vc-svn-registered' signals an error if a directory has be (re)moved.

From: Emilio Lopes <[email-masked]>
Date: Fri, 12 Sep 2014 22:36:52 +0200

2014-09-12 19:28 GMT+02:00 Stefan Monnier <[email-masked]>:
>> +                (ignore-errors
>> +                  ;; In case some problem might happen.  E.g. We can't
>> +                  ;; find an `svn' executable.  We used to only catch
>> +                  ;; `file-error' but when the process is run on a
>> +                  ;; remote host via Tramp, the error is only reported
>> +                  ;; via the exit status which is turned into an
>> +                  ;; `error' by vc-do-command.
>> +                  (cd dir)
>> +                  (vc-svn-command t t file "status" "-v"))))
>
> Sounds OK, but I suggest we use with-demoted-errors, so the user is told
> in case there's a problem.

Makes sense, thanks for looking at it.  I'll submit a new patch the next days.

 Emílio