bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Emilio Lopes
Subject: bug#18461: `vc-svn-registered' signals an error if a directory has be (re)moved.
Date: Fri, 12 Sep 2014 22:36:52 +0200

2014-09-12 19:28 GMT+02:00 Stefan Monnier <monnier@iro.umontreal.ca>:
>> +                (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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]