/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/branch_implementations/test_hooks.py

  • Committer: Martin Pool
  • Date: 2008-07-21 07:48:30 UTC
  • mfrom: (3564 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3566.
  • Revision ID: mbp@sourcefrog.net-20080721074830-i1pgj2hswpfo6pav
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
99
99
        tree.lock_write()
100
100
        tree.add('')
101
101
        for revision_id in revision_ids:
102
 
            tree.commit('Message of ' + revision_id, rev_id=revision_id)
 
102
            tree.commit(u'Message of ' + revision_id.decode('utf8'),
 
103
                        rev_id=revision_id)
103
104
        tree.unlock()
104
105
        branch = tree.branch
105
106
        return branch