/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: Kent Gibson
  • Date: 2007-03-07 14:49:00 UTC
  • mfrom: (2324 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2350.
  • Revision ID: warthog618@gmail.com-20070307144900-6bt7twg47zul3w0w
merged bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
        tree.unlock()
50
50
        branch = tree.branch
51
51
        Branch.hooks.install_hook('set_rh', self.capture_set_rh_hook)
52
 
        branch.set_revision_history([u'foo'])
 
52
        branch.set_revision_history(['f\xc2\xb5'])
53
53
        self.assertEqual(self.hook_calls,
54
 
            [('set_rh', branch, [u'foo'], True)])
 
54
            [('set_rh', branch, ['f\xc2\xb5'], True)])
55
55
 
56
56
    def test_set_rh_branch_is_locked(self):
57
57
        branch = self.make_branch('source')