~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_workingtree_4.py

  • Committer: Robert Collins
  • Date: 2007-09-20 22:58:47 UTC
  • mfrom: (2776.4.12 commit)
  • mto: This revision was merged to the branch mainline in revision 2933.
  • Revision ID: robertc@robertcollins.net-20070920225847-q6kfq6cqkc331w2b
Merge various bzr.dev improvements.

Show diffs side-by-side

added added

removed removed

Lines of Context:
419
419
        tree.add(['b'], ['b-id'])
420
420
 
421
421
        try:
422
 
            tree.rename_one('a', u'b\xb5rry')
423
 
            new_path = u'b\xb5rry'
 
422
            new_path = u'b\u03bcrry'
 
423
            tree.rename_one('a', new_path)
424
424
        except UnicodeEncodeError:
425
425
            # support running the test on non-unicode platforms
426
 
            tree.rename_one('a', 'c')
427
426
            new_path = 'c'
 
427
            tree.rename_one('a', new_path)
428
428
        self.assertEqual(new_path, tree.id2path('a-id'))
429
429
        tree.commit(u'b\xb5rry')
430
430
        tree.unversion(['a-id'])