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

From: Stefan Monnier <[email-masked]>
Date: Fri, 12 Sep 2014 13:28:30 -0400

> +                (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.

        Stefan