@mutable_property(cached=True)<EOL><INDENT>def revision_number(self):<DEDENT>
return self.repository.find_revision_number(self.revision_id)<EOL>
The local revision number of the revision (an integer or :data:`None`).

Local revision numbers are integers that increment with each commit.
This makes them useful as a build number or when a simple, incrementing
version number is required. They should not be used to unambiguously
refer to a revision (use :attr:`revision_id` for that instead).

When this property is not available its value will be :data:`None`.