[MERGE][#151844] Unicode-safe output from ``bzr info``
Alexander Belchenko
bialix at ukr.net
Fri Oct 12 12:45:35 BST 2007
Lukáš Lalinský пишет:
> On 10/12/07, Alexander Belchenko <bialix at ukr.net> wrote:
>> Lukáš Lalinský пишет:
>>> This is a bug-fix for https://bugs.launchpad.net/bzr/+bug/151844
>> bb:tweak
>>
>> The changes mostly mechanical, but it lacks test for the bug itself.
>> IMO, blackbox test is enough here.
>> May be add test to test_non_ascii?
>
> Hm? What do you mean? The patch actually contains a test *only* for
> the mentioned bug:
>
> + def test_info(self):
> + bzr = self.run_bzr_decode
> + bzr(['branch', u'.', self.info['directory']])
> + bzr(['info', self.info['directory']])
> + bzr(['info', self.info['directory']], encoding='ascii')
>
> I can't use simply "bzr info", because that prints the root location
> as ".", while this way it prints the Unicode directory name.
Sorry, I misread your patch.
But this test actually fails on my win2k.
But it's not your fault. All non-ascii tests are fail.
More information about the bazaar
mailing list