Package buildbot :: Package status :: Package web :: Module console :: Class RevisionComparator
[frames] | no frames]

Class RevisionComparator

source code

object --+
         |
        RevisionComparator
Known Subclasses:

Used for comparing between revisions, as some VCS use a plain counter for revisions (like SVN) while others use different concepts (see Git).

Instance Methods
 
isRevisionEarlier(self, first_change, second_change)
Used for comparing 2 changes
source code
 
isValidRevision(self, revision)
Checks whether the revision seems like a VCS revision
source code
 
getSortingKey(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__