~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_commit.py

[patch] use unicode literals for all hardcoded paths (Alexander Belchenko)

> When you use flat string on Windows for base part of file names then all
> derived file names is always representing as flat string. On Linux/Cygwin as
> I can see in situations when path cannot be represented as flat string (or in
> ascii encoding?) it silently converted to unicode. As result we have
> different behaviour with non-ascii (non-english) file names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
201
201
        self.check_inventory_shape(b.get_revision_inventory(r3),
202
202
                                   ['a', 'a/hello', 'a/b'])
203
203
 
204
 
        b.working_tree().move(['a/hello'], 'a/b')
 
204
        b.working_tree().move([os.sep.join(['a', 'hello'])],
 
205
               os.sep.join(['a', 'b']))
205
206
        r4 = 'test@rev-4'
206
207
        b.working_tree().commit('four', rev_id=r4, allow_pointless=False)
207
208
        self.check_inventory_shape(b.working_tree().read_working_inventory(),