Part of lp.code.model.revision View In Hierarchy
| Method | getByRevisionId | Undocumented |
| Method | new | See IRevisionSet.new() |
| Method | acquireRevisionAuthors | Find or create the RevisionAuthors with the specified names. |
| Method | newFromBazaarRevisions | See IRevisionSet. |
| Static Method | onlyPresent | See IRevisionSet. |
| Method | getTipRevisionsForBranches | See IRevisionSet. |
| Static Method | getRecentRevisionsForProduct | See IRevisionSet. |
| Static Method | getRevisionsNeedingKarmaAllocated | See IRevisionSet. |
| Static Method | getPublicRevisionsForPerson | See IRevisionSet. |
| Class Method | getPublicRevisionsForProduct | See IRevisionSet. |
| Class Method | getPublicRevisionsForProjectGroup | See IRevisionSet. |
| Static Method | updateRevisionCacheForBranch | See IRevisionSet. |
| Static Method | pruneRevisionCache | See IRevisionSet. |
| Method | _createRevisionAuthor | Extract out the email and check to see if it matches a Person. |
| Method | _timestampToDatetime | Convert the given timestamp to a datetime object. |
| Static Method | _getPublicRevisionsHelper | Helper method for Products and ProjectGroups. |
Find or create the RevisionAuthors with the specified names.
A name may be any arbitrary string, but if it is an email-id, and
its email address is a verified email address, it will be
automatically linked to the corresponding Person.
Email-ids come in two major forms:
"Foo Bar" <foo@bar.com>
foo@bar.com (Foo Bar)
:return: a dict of name -> RevisionAuthor
This works around a bug in Python that causes datetime.fromtimestamp to raise an exception if it is given a negative, fractional timestamp.
| Parameters | timestamp | A timestamp from a bzrlib.revision.Revision (type: float) |
| Returns | A datetime corresponding to the given timestamp. | |