Name

revision, build.revision, kPMRPCBuildRevision, kPMObserveBuildRevision — Engine's revision number.

Synopsis

string build.revision( );

Description

Engine's revision number.

revision is the internal version used by the developers. The higher the revision value, the more recent the version of the engine. revision is used to compare engine versions.

revision should rarely be displayed in the user interface. Where version information is being presented, use the value returned by version.

The revision value may include a mix of numbers, letters, and punctuation.

Returns

revision is a string.

Observable

Changes to revision can be observed, without polling, using build.revision, kPMObserveBuildRevision.

Security

revision can be requested by any authenticated client.

Unauthenticated clients are authorized using the uk.co.dssw.powermanager.build.revision right. By default, any local process can request revision.

Availablility

pmdctl

Examples

Example 27. C: build.revision

CFMutableDictionaryRef myRequest = PMRequestCreate(kCFAllocatorDefault,kPMRPCBuildRevision);


Example 28. Objective-C: build.revision

DSSWPMRequest* myRequest = [DSSWPMRequest requestWithRequest:kPMRPCBuildRevision];


Example 29. AppleScript: build.revision

tell application "Power Manager Scripting"
    set myResult to revision of Build
end tell


Example 30. Shell: build.revision

./pmctl build.revision