Class P4.Revision

Description

Utility class providing easy access to the revisions of P4.DepotFile objects. Created by P4.run_filelog().

Instance Attributes

rev.action -> string

Returns the name of the action which gave rise to this revision of the file.

rev.change -> int

Returns the change number that gave rise to this revision of the file.

rev.client -> string

Returns the name of the client from which this revision was submitted.

rev.depotFile -> string

Returns the name of the depot file to which this object refers.

rev.desc -> string

Returns the description of the change which created this revision. Note that only the first 31 characters are returned unless you use p4 filelog -L for the first 250 characters, or p4 filelog -l for the full text.

rev.digest -> string

Returns the MD5 digest of this revision.

rev.fileSize -> string

Returns this revision's size in bytes.

rev.integrations -> list

Returns the list of P4.Integration objects for this revision.

rev.rev -> int

Returns the number of this revision of the file.

rev.time -> datetime

Returns the date/time that this revision was created.

rev.type -> string

Returns this revision's Perforce filetype.

rev.user -> string

Returns the name of the user who created this revision.

Class Methods

None.

Instance Methods

None.