Class Change
I represent a single change to the source tree. This may involve
several files, but they are all changed by the same person, and there is
a change comment for the group as a whole.
If the version control system supports sequential repository- (or
branch-) wide change numbers (like SVN, P4, and Arch), then revision=
should be set to that number. The highest such number will be used at
checkout time to get the correct set of files.
If it does not (like CVS), when= should be set to the timestamp
(seconds since epoch, as returned by time.time()) when the change was
made. when= will be filled in for you (to the current time) if you omit
it, which is suitable for ChangeSources which have no way of getting more
accurate timestamps.
Changes should be submitted to ChangeMaster.addChange() in
chronologically increasing order. Out-of-order changes will probably
cause the html.Waterfall display to be corrupted.
Method Summary |
|
__init__(self,
who,
files,
comments,
isdir,
links,
revision,
when,
branch)
|
|
asHTML(self)
|
|
asText(self)
|
|
getColor(self)
|
|
getFileContents(self)
|
|
getLogs(self)
|
|
getText(self)
|
|
getTime(self)
|
|
getTimes(self)
|
__implemented__
-
- Type:
-
Implements
- Value:
<implementedBy buildbot.changes.changes.Change>
|
|
__providedBy__
-
- Type:
-
ClassProvides
- Value:
<zope.interface.declarations.ClassProvides object at 0x4066780c>
|
|
__provides__
-
- Type:
-
ClassProvides
- Value:
<zope.interface.declarations.ClassProvides object at 0x4066780c>
|
|
branch
-
- Type:
-
NoneType
- Value:
|
number
-
- Type:
-
NoneType
- Value:
|
revision
-
- Type:
-
NoneType
- Value:
|