149
149
raise BzrCommandError('You must supply either --revision or a revision_id')
150
150
b = Branch.open_containing('.')[0]
151
151
if revision_id is not None:
153
153
elif revision is not None:
156
156
raise BzrCommandError('You cannot specify a NULL revision.')
157
157
revno, rev_id = rev.in_history(b)
161
161
class cmd_revno(Command):