/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/__init__.py

  • Committer: Martin Pool
  • Date: 2007-09-25 08:14:12 UTC
  • mto: This revision was merged to the branch mainline in revision 2895.
  • Revision ID: mbp@sourcefrog.net-20070925081412-ta60zj5qxfuokev3
Remove most calls to safe_file_id and safe_revision_id.

The deprecation period for passing unicode objects as revision ids is now over.

Show diffs side-by-side

added added

removed removed

Lines of Context:
279
279
        self._create_tree_with_utf8(tree)
280
280
        tree2 = tree.bzrdir.sprout('tree2').open_workingtree()
281
281
        self.build_tree([u'tree2/b\xe5r/z\xf7z'])
282
 
        self.callDeprecated([osutils._file_id_warning],
283
 
                            tree2.add, [u'b\xe5r/z\xf7z'], [u'z\xf7z-id'])
 
282
        tree2.add([u'b\xe5r/z\xf7z'], [u'z\xf7z-id'.encode('utf-8')])
284
283
        tree2.commit(u'to m\xe9rge', rev_id=u'r\xe9v-2'.encode('utf8'))
285
284
 
286
285
        tree.merge_from_branch(tree2.branch)