tests/test-inotify-issue1542.out
author Martin Geisler <mg@lazybytes.net>
Thu, 26 Nov 2009 20:06:45 +0100
branchstable
changeset 9941 11d7ee94b56a
parent 7892 67e59a9886d5
permissions -rw-r--r--
extdiff: prevent exception on double-translation The docstring is translated twice: once when used as a format string, and once on display. The second translation fails when the first translation introduces non-ASCII characters in the string. The problem is that the gettext module calls unicode(message) on the string, i.e., it decodes it to a Unicode string using the ASCII encoding (the default encoding). By translating it into a Unicode string here, the unicode() call becomes a noop.

% inserve
A dir/c
? a
? dir/b
? hg.pid
% moving dir out
% status
! dir/c
? a
? hg.pid
Are we able to kill the service? if not, the service died on some error