How to determine the type of workspace.

0 Likes

PROBLEM/ABSTRACT:
How to determine the type of workspace you have?

SOLUTION:
In order to determine the type of workspace you have, you will need to run the command 'accurev show -fix wspaces'. From this output, you will look for the line that contains "Type=".

Here are the values you will see.

1 = Default
9 = Exclusive Lock
17 = Anchor Required
25 = Exclusive Lock and Anchor Required

Example:

<Element
Name="Default_jstanley"
Storage="C:/ws_store/Default"
Host="jstanley_laptop"
Stream="3"
depot="Test"
Target_trans="3"
Trans="3"
Type="1" <----Look here
EOL="0"
user_id="1"
user_name="jstanley"/>
<Element
Name="Exclusive_lock_jstanley"
Storage="C:/ws_store/Exclusive_lock"
Host="jstanley_laptop"
Stream="4"
depot="Test"
Target_trans="7"
Trans="7"
Type="9" <----Look here
EOL="0"
user_id="1"
user_name="jstanley"/>
<Element
Name="Anchor_Required_jstanley"
Storage="C:/ws_store/Anchor_Required"
Host="jstanley_laptop"
Stream="5"
depot="Test"
Target_trans="9"
Trans="9"
Type="17" <----Look here
EOL="0"
user_id="1"
user_name="jstanley"/>
<Element
Name="Exclusive_locking_and_Anchor_Required_jstanley"
Storage="C:/ws_store/Exclusive_locking_and_Anchor_Required"
Host="jstanley_laptop"
Stream="7"
depot="Test"
Target_trans="12"
Trans="9"
Type="25" <----Look here
EOL="0"
user_id="1"
user_name="jstanley"/>


For more information contact AccuRev Support

Comment List
Related
Recommended