/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/tree_implementations/test_walkdirs.py

(working), fix dirstate to use utf8 file ids.
Also fix a bug in _generate_inventory for non-ascii paths. It was
combining the decoded path with the utf8 prefix and assuming the
whole thing was utf8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
            [
28
28
             ('0file', '0file', 'file', None, '2file', 'file'),
29
29
             ('1top-dir', '1top-dir', 'directory', None, '1top-dir', 'directory'),
30
 
             (u'2utf\u1234file', u'2utf\u1234file', 'file', None, u'0utf\u1234file', 'file'),
 
30
             (u'2utf\u1234file', u'2utf\u1234file', 'file', None,
 
31
                                     u'0utf\u1234file'.encode('utf8'), 'file'),
31
32
             ('symlink', 'symlink', 'symlink', None, 'symlink', 'symlink')
32
33
            ]),
33
34
            (('1top-dir', '1top-dir'),