AcUtils
A high performance abstraction layer for AccuRev
|
Indicates whether the depot is case sensitive or insensitive (defined when the depot is created).
Enumerator | |
---|---|
insensitive |
The depot is case insensitive. |
sensitive |
The depot is case sensitive. |
Definition at line 33 of file AcDepots.cs.
enum AcUtils.ElementType |
Indicates the element's type. By default, AccuRev determines the element type for a newly created version automatically.
enum AcUtils.LockKind |
The kind of AccuRev lock
.
Enumerator | |
---|---|
from |
A from lock on the stream. |
to |
A to lock on the stream. |
all |
Both to and from lock on the stream. |
Definition at line 30 of file AcLocks.cs.
enum AcUtils.OnlyExcept |
Lock applies to the principal only or to all except the principal.
Enumerator | |
---|---|
Only |
Lock applies to the principal only. |
Except |
Lock applies to all except the principal. |
Definition at line 64 of file AcLocks.cs.
For trigger development, debugging, and troubleshooting.
Use to copy the XML param data sent to the trigger by AccuRev to %LOCALAPPDATA%\AcTools\Param\<trigger-command-principal-timestamp>.xml
on the machine where the trigger process runs. The AcTools\Param
folder is created if not already there. Example file: server_preop_trig-promote-barnyrd-2013429445183.xml
.
The following triggers cause the command to succeed or fail based on the trigger's program return value: zero (0) to have the command succeed, non-zero to have it fail (repository remains unchanged).
Enumerator | |
---|---|
NoParamFileCopy |
Do not create copies of the XML param data. The trigger and AccuRev operation execute normally. |
CopyParmFileTrigTarget |
Create copies of the XML param data for select users and triggers if a matching entry is found in TriggersTarget.xml located on the AccuRevTriggers network share. The trigger and AccuRev operation execute normally. |
CopyParmFileExitSuccess |
Run the trigger just long enough to create copies of the XML param data and then immediately terminate it with a zero (0) return value (Success) thus allowing the operation to succeed (where applicable). |
CopyParmFileExitFailure |
Run the trigger just long enough to create copies of the XML param data and then immediately terminate it with a one (1) return value (Failure) thus causing the operation to fail (where applicable). |
CopyParmFileContinue |
Create copies of the XML param data with no early trigger termination. The trigger and AccuRev operation execute normally. |
Definition at line 69 of file AcDebug.cs.
enum AcUtils.PermKind |
Whether permissions pertain to depots or streams. Set when the permission is created by the setacl
command.
Enumerator | |
---|---|
depot |
Permissions pertain to depots. |
stream |
Permissions pertain to streams. |
Definition at line 60 of file AcPermissions.cs.
enum AcUtils.PermRights |
Whether permission rights to Name in AppliesTo is all or none.
Enumerator | |
---|---|
none |
AppliesTo does not have permission to access Name. |
all |
AppliesTo has permission to access Name. |
Definition at line 46 of file AcPermissions.cs.
enum AcUtils.PermType |
Whether AppliesTo is the principal name for a group, user, or builtin type.
Enumerator | |
---|---|
group |
AppliesTo is the principal name for a group. |
user |
AppliesTo is the principal name for a user. |
builtin |
AppliesTo is authuser or anyuser. |
Definition at line 30 of file AcPermissions.cs.
enum AcUtils.PrinStatus |
Whether the principal is active or inactive in AccuRev.
Enumerator | |
---|---|
Unknown |
The principal status is unknown. |
Inactive |
The principal is inactive. |
Active |
The principal is active. |
Definition at line 28 of file AcPrincipal.cs.
enum AcUtils.PrinType |
Whether the lock
is for a user or a group.
Enumerator | |
---|---|
group |
Lock applies to a group. |
user |
Lock applies to a user. |
none |
Lock does not apply to a principal. |
Definition at line 46 of file AcLocks.cs.
enum AcUtils.PropKind |
Type of the property, either principal or stream.
Enumerator | |
---|---|
principal |
The property kind is a principal. |
stream |
The property kind is a stream. |
Definition at line 28 of file AcProperties.cs.
enum AcUtils.RealVirtual |
Use to specify real or virtual values.
Enumerator | |
---|---|
Real |
Real value(s). |
Virtual |
Virtual value(s). |
Definition at line 30 of file Extensions.cs.
enum AcUtils.RuleKind |
The kind of AccuRev rule.
Definition at line 31 of file AcRules.cs.
enum AcUtils.StreamType |
The type of stream.
show streams
command returns passthrough and normal while the server_admin_trig receives passthru and regular and the server_master_trig receives dynamic. We cover them all here in one enum. Definition at line 33 of file AcStreams.cs.
enum AcUtils.WsEOL |
End-of-line character used by the workspace. These numeric values are passed by AccuRev and converted to our enum type.
Enumerator | |
---|---|
Platform |
0: Recognize the host OS to determine the EOL. |
Unix |
1: Always use Unix EOL. |
Windows |
2: Always use Windows EOL. |
Definition at line 49 of file AcWorkspaces.cs.
enum AcUtils.WsType |
Workspace type the user created. These numeric values are passed by AccuRev and converted to our enum type.
Enumerator | |
---|---|
Standard |
1: A standard workspace. |
RefTree |
3: A reference tree. |
Exclusive |
9: Type of file locking is exclusive. |
Anchor |
17: Type of file locking is anchor required. |
Definition at line 31 of file AcWorkspaces.cs.