RADE

Source Code Manager

adl_co

Acquiring files

Quick Reference

Abstract

The adl_co command acquires (checks-out) one, or more, files in the current image of the current workspace for modification purposes in an official acquisition mode. 


Synopsis

adl_co file... [-shared |-force_excl | -excl] [-no_check] [-h | -help | -?]

Usage

There are several types of acquisition, depending on whether other people are allowed to simultaneously modify files you are currently working on:

Non exclusive check-out: the file can be acquired and modified by another user, in another workspace.

Non exclusive forced check-out: an exclusivity has been set on the file by another workspace and this exclusivity has been forced. This option is only used for critical cases. The file can be acquired and modified in parallel, in the workspace.

Exclusive check-out: no other workspace is allowed to modify the file before the new version has been retrieved (through a synchronization, collect).

Remarks:


Rules options:


To list all the acquired file of a given workspace, run the [1] adl_ls_co command.
To delete the acquisition on a file, run the [2] adl_unco command.

[Top]

Options

adl_co accepts the following options:
 
 

-h|-help|-? Help of the command
file ... Path(es) of the file(s) element(s) to check-out
-shared Shared check-out
-force_excl Shared check-out with exclusivity break (critical cases)
-excl Exclusive check-out
-no_check No check that the file has been modified out of SCM scope

[Top]

Examples

Acquire a file "MyFile" in the directory "src" of the framework "MyFw" of the workspace "MyWs":

adl_ch_ws MyWs  
adl_co MyFw/src/MyFile 
or  
adl_ch_ws MyWs  
cd MyFw/src  
adl_co MyFile

 

Acquire a file "MyFile" in an exclusive mode:

adl_ch_ws MyWs 
adl_co -excl MyFw/src/MyFile

 

Acquire a file "MyFile" without any check:

adl_ch_ws MyWs 
adl_co -no_check MyFw/src/MyFile

 

Acquire a file "MyFile" in a shared mode:  

adl_ch_ws MyWs 
adl_co -shared MyFw/src/MyFile

 

Acquire a file "MyFile" in a shared mode, with exclusivity break:  

adl_ch_ws My_Ws
adl_co -force_excl My_fw/Toto

[Top]


References

[1] 
[2] 
[3]
adl_ls_co: Listing the acquired objects
adl_unco: Unacquiring an object
adl_mk_priv: Acquiring file in a private mode

[Top]


History

Version: 1 [Mar 2001] Document created

[Top]


Copyright © 2001, Dassault Systèmes. All rights reserved.