RADE

Source Code Manager

adl_ds_chg

Displaying last modification

Quick Reference

Abstract

The adl_ds_chg command gives the last modification of each type for an object known by SCM in a given workspace.


Synopsis

adl_ds_chg object...| -file file {[-ws workspace_name] [-tree ws_tree_name]}|[-ws_rev ws_rev] [-all_chg |{-chg chg...}] [-program [-sep | -separator char]] [-out file_path]  [-h | -help | -?]

Usage

This command gives the modifications seen in an image, a workspace or a workspace revision for an object known by SCM (framework, module, data, file, directory). With this command, you can easily know who has modified an object last, the modification type, its version and where it comes from.

To see all modifications of a SCM object, use the graphical interface [4] adl_gui.

Asking for the last modification of content of the file F1\Mod1.m\src\File3.cpp seen in the current workspace.

> adl_ds_chg F1/Mod1.m/src/File3.cpp -chg content
F1\Mod1.m\src\File3.cpp Type: File element Id: DlkC7eXb0xg3+++3R+Cm Responsible: None
Change of content Id: ++++1E4p8TOXb0xg3+++A7+57 Content Id: E4p8T8Xb0xg3+++A7+55
Created by nle with adl_ci on Friday, April 02, 2004 01:11:56 PM in the workspace W11Nle, tree T1Nle
Visible through the workspace W11Nle in which it appeared because of adl_ci on Friday, April 02, 2004 01:11:56 PM

You can see that the file has been modified by the user: nle on Friday April 02, 2004 01:11:56 PM in the workspace W11Nle.

The specified changes are:

You can send the results to a file of your choice. With the -program option, you have internal Source Code Manager information relatives to the differences.

The "-program" option displays information in a specific output mode. Key words are given, associated with values. For more details, see the article explaining this option.

 

Options

adl_ds_chg accepts the following options:
 

-h|-help|-? Help of the command
object ... Existing SCM object path(s)., or identifier(s) prefixed by "soid:"
-file file File containing existing SCM object relative paths, or identifiers prefixed by "soid:
-ws workspace_name Name of the workspace to examine. Default is current.
-tree ws_tree_name The workspace tree in which read the software object changes.
-ws_rev ws_rev The workspace revision to consider, with the format "ws.tree[.{number|label|last|date}]" (date format: YYYY/MM/DD-hh:mm:ss, time is optional (00:00:00 by default)).
-all_chg all the changes
-chg chg_type the specified changes
-program Display for programs
-sep separator Separator between each field for programs (default value is blank) 
-separator separator Separator between each field for programs (default value is blank)
-out file_path Path to a file for writing the results.

[Top]

Examples

Display the content change of the file "MyFile" in the current image:

adl_ch_ws MyWs
adl_ds_chg MyFile -chg content

 

Display all the change of the file "MyFile" in the workspace MyWs:  

adl_ds_chg MyFile -ws MyWs

 

Display changes of the file "MyFile" with the output sent to a file "MyResultFile" in a mode program:  

adl_ds_chg MyFile -ws MyWs -program -sep "|" -out MyResultFile


[Top]


References

[1]
[2]
[3]
[4]
adl_ds_ws: Displaying workspace state
adl_ch_ws: Changing workspace
adl_forget_chg: Forgetting change
adl_gui: See the changes with a graphic interface

[Top]


History

Version: 5 [Dec 2003] Document update : add responsible information
Version: 4 [Apr 2003] Document update : -file option
Version: 3 [Dec 2001] Document update
Version: 2 [Nov 2001] Document update
Version: 1 [Mar 2001] Document creation

[Top]


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