|
From: | Stefan Monnier |
Subject: | Re: [Emacs-diffs] /srv/bzr/emacs/trunk r107863: Add another vc-bzr test |
Date: | Wed, 11 Apr 2012 09:00:47 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
> - (with-demoted-errors (vc-bzr-command "status" t 0 file)) > + ;; This is with-demoted-errors without the condition-case-unless-debug > + ;; annoyance, which makes it fail during ert testing. > + (let (err) > + (condition-case err (vc-bzr-command "status" t 0 file) > + (error (message "Error: %S" err) nil))) IIUC this problem has nothing to do with vc-bzr.el but with the interaction of with-demoted-error and ERT. So the solution should be in ert.el (and/or in the definition of with-demoted-errors). Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |