1029
1029
if last_rev == _mod_revision.ensure_null(
1030
1030
tree.branch.last_revision()):
1031
1031
# may be up to date, check master too.
1033
1032
if master is None or last_rev == _mod_revision.ensure_null(
1035
1034
revno = tree.branch.revision_id_to_revno(last_rev)