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

  • Committer: Aaron Bentley
  • Date: 2007-07-11 16:42:37 UTC
  • mto: This revision was merged to the branch mainline in revision 2606.
  • Revision ID: abentley@panoramicfeedback.com-20070711164237-n1x38fz7fttybkqp
Push NULL_REVISION deeper

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
        tree = self.create_tree_with_merge()
28
28
        the_branch = tree.branch
29
29
 
30
 
        self.assertEqual(0, the_branch.revision_id_to_revno(None))
 
30
        self.assertEqual(0, the_branch.revision_id_to_revno('null:'))
31
31
        self.assertEqual(1, the_branch.revision_id_to_revno('rev-1'))
32
32
        self.assertEqual(2, the_branch.revision_id_to_revno('rev-2'))
33
33
        self.assertEqual(3, the_branch.revision_id_to_revno('rev-3'))