|
Class Reference
%Studio.SourceControl.Change
|
|
![]() |
|||
Private Storage |
Class for storing changes to environment
|
|
Properties | |||
---|---|---|---|
Action | ActivelyCommitted | BackupName | CCR |
ChangedBy | Committed | CommittedTime | CommittedTimeDisplay |
ExternalName | InternalName | ItemFile | Name |
P4Issued | Source | UpdatedTime |
|
The MANAGEDEXTENT parameter can be set to 0 (zero) to cause the Extent Manager to ignore this class. If set to 1 then the Extent Manager will register globals used by the class and detect collisions. Unmanaged extents (MANAGEDEXTENT = 0) are not checked. Currently, only classes using default storage (%Library.CacheStorage) can be managed. This is required since each Namespace will have it's own Change extent
This Parameter should be updated when synced from Perforce
Revision number of this class when compiled as part of the //custom_ccrs/_common/config/... branch. This version will not be updated (by design) when the class is integrated to other branches. This allows the user to tell what version of the Studio client tools are in use.
|
Action for this change
Flag indicating whether or not this change was committed to Perforce via Source/Change control tools. If ActivelyCommitted = 0 for a committed change, then it might have been either reverted or committed directly by a Perforce client and the Perforce history should be checked to see whether or not it was committed
Returns the name of the backup file for this Item in the file system
When this change was first created, this CCR was associated with it for tracking purposes (optional field)
User who made this change, and for uncommitted changes this is the person who has it "checked out"
Flag indicating whether or not this change has been committed to Perforce
Time when this change was committed to Perforce (either via an ItemSet, the Studio CheckIn page or through a P4V)this value should be set in the form $zdt($H,3) (i.e. "0000-00-00 00:00:00" format)
Display the CommittedTime field, showing "Uncommitted" for changes that have not yet been committed
Returns the name of this Item in the file system
Name used within instance to refer to this changed item
Location where this item is stored on disk
Human readable Name referring to this changed item. This will default to the value if InternalName unless it is explicitly set
Time of when the P4 command was issued to Perforce NOTE - a change can have a non-null P4Issued and still have Committed=0 because a 'p4 edit' will check it out but it is not committed until 'p4 submit'
Utility by which this change was made
Last time this change was saved locally
|
Displays a list of Uncommitted items from the Uncommitted queue to the output deviceOnly lists items with action of type 'revert' if the IncludeRevert flag is passed as true
Retrieves the details from the Uncommitted queue of an Uncommitted item
Returns value the Major.Minor version for this instance, so it can be used in comparison code which makes sure certain features are used in appropriate versions
Returns Boolean value indicating whether or not an item is Uncommitted
Lists the Uncommitted items from the Uncommitted queueOnly lists items with action of type 'revert' if the IncludeRevert flag is passed as true
Returns uncommited change object
Goes through Uncommitted queue and removes any items of action 'edit' or 'add' which are ReadOnly or non-existent on the filesystem
Removes all Uncommitted items from the Uncommitted queue
Removes an Uncommitted item from the Uncommitted queue and changes the exported file to Reaonly (except for reverts of Adds, or new CSP files within the Perforce root)Default assumed behavior is that the the change was not reverted, and that it was actively committed to Perforce
If the method calling does not know whether it was reverted or committed to Perforce, then it should pass Revert = 0 and ActiveCommit = 0, indicating that the change might have been reverted and the Perforce history should be checked for the definitive answer.
The 'Revert', 'ActiveCommit', and CommitCCR arguments only impact the behavior if ^SYS("SourceControl","ChangeConfig","KeepHistory")=1, which means Change objects should have their Committed flag set to 1 and be saved for historical reference, rather than just deleting the Change objects when RemoveUncommitted() is called.
Sets the details for a new Uncommitted item into the Uncommitted queue
Update the details for an Uncommitted item in the Uncommitted queue
|