RADE

Source Code Manager

adl_unrm

Unremoving objects

Quick Reference

Abstract

The adl_unrm command unremoves deleted objects (frameworks, modules, file or directories) from the current workspace. 


Synopsis

adl_unrm object... [-tree ws_tree_name] [-h|-help|-?]

Usage

This command allows the "resurrection" of deleted SCM objects in the current workspace. The object can be a file, a directory or a component (framework, module or data component).

The object can be given either as path name or as an object's identificator ("soid").

The complete path is not useful unless for for the case (rare) where you would find the same object (same Id) in two different trees.

The command fails if the object itself is included in a deleted directory. In this case, the adl_unrm command would not make the object appear again.

Remark: If a directory is deleted running the [2] adl_rm command, (directory, module or framework), it is enough to run the adl_unrm command on the directory; all the deleted objects will appear again.

[Top]

Options

adl_unrm accepts the following options:

-h|-help|-? Help of the command
objects ... Path(es) of the object(s) to unremove
-tree ws_tree_name Name of the workspace's tree in which find the object to unremove

[Top]

Examples

Unremove a file "MyFile" in the workspace "MyWs":  

adl_unrm MyFile
Unremoving the object "MyFile" in the workspace "MyWs" of the workspace tree "ToolsTree".
MyFile has been created
Command successful

 

Unremove a file "MyFw/src/MyFile" not removed in the current workspace:  

adl_unrm MyFile
Verifying the path "MyFw/src/MyFile"
#ERR# ADLCMD - 0866: "MyFw/src/MyFile" is a file, but no projected object is expected.
Choose a deleted object path matching neither a projected file nor a directory.
##### THE COMMAND ENTIRELY OR PARTIALLY FAILED #####

 

Unremove a file "MyFw/src/MyFile", in the tree "ToolsTree"  

adl_unrm MyFile -tree ToolsTree
Unremoving the object "MyFile" in the workspace "MyWs" of the workspace tree "ToolsTree".
MyFile has been created
Command successful

[Top]


References

[1] adl_mk_elem: Creating an object
[2] adl_rm: Deleting an object

[Top]

History

Version: 1 [Apr 2001] Document created

[Top]

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