[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18461: `vc-svn-registered' signals an error if a directory has be (r
From: |
Stefan Monnier |
Subject: |
bug#18461: `vc-svn-registered' signals an error if a directory has be (re)moved. |
Date: |
Fri, 12 Sep 2014 13:28:30 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
> + (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