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

Previous Next

Package: emacs;

Reported by: Emilio Lopes <eclig <at> gmx.net>

Date: Fri, 12 Sep 2014 16:11:02 UTC

Severity: normal

Tags: patch

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Emilio Lopes <eclig <at> gmx.net>
Cc: 18461 <at> debbugs.gnu.org
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
> +                (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




This bug report was last modified 9 years and 93 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.