Class P4::Revision
Description
Utility class providing easy access to the revisions of a file in a
Helix Server
depot. P4::Revision
objects can store basic
information about revisions and a list of the integrations for that
revision. Created by P4#run_filelog()
.
Class Methods
None.
Instance Methods
rev.action -> aString
Returns the name of the action which gave rise to this revision of the file.
rev.change -> aNumber
Returns the change number that gave rise to this revision of the file.
rev.client -> aString
Returns the name of the client from which this revision was submitted.
rev.depot_file -> aString
Returns the name of the depot file to which this object refers.
rev.desc -> aString
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 -> aString
Returns the MD5 digest for this revision of the file.
rev.each_integration { |integ| block } -> integArray
Iterates over each the integration records for this revision of the depot file.
rev.filesize -> aNumber
Returns size of this revision.
rev.integrations -> integArray
Returns the list of integrations for this revision.
rev.rev -> aNumber
Returns the number of this revision of the file.
rev.time -> aTime
Returns the date/time that this revision was created.
rev.type -> aString
Returns this revision’s Helix Server filetype.
rev.user -> aString
Returns the name of the user who created this revision.