~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/branch_implementations/test_hooks.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-07-17 16:55:59 UTC
  • mfrom: (3557.1.1 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080717165559-8hvqzuqov8rz6x1g
(jam) Fix bug #247585: decode from utf8 to Unicode when giving a
        commit message

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