54
54
# allow both NoSuchRevision and GhostRevisionsHaveNoRevno here.
55
55
self.assertRaises((errors.NoSuchRevision, errors.GhostRevisionsHaveNoRevno),
56
56
tree.branch.revision_id_to_revno, "unknown")
61
61
branch = self.make_branch('.')
62
62
self.assertRaises(errors.NoSuchRevision,
63
63
branch.revision_id_to_revno, "unknown")