RADE

Source Code Manager

adl_close_cs

Closing change set

Quick Reference

Abstract

The adl_close_cs command closes an opened change set.


Synopsis

adl_close_cs [change_set] [-desc description] [-cr change_request_name...[-no_check] [-replace | -remove]] [-force] [-h|-help|-?]

Usage

This command closes the change set <change_set> or current change set in workspace.
To be closed, the change set must have a description.

By default, the change requests are added to the change set's change requests.
If you want to replace all the requests, use the -replace option.
If you want to remove one or many requests, use the -remove option.

Once the change set is closed, it cannot be re-opened. The description and the change requests associated to the change set can be change by the adl_set_cs command.
 

Options

adl_close_cs accepts the following options:
 

-h|-help|-? Help of the command
change_set Name of the change set or identifier prefixed by "csid:".
-desc description Description for the change set (the existing description is replaced).
-cr change_request_name... Change request names for the opened change set without description (specific DS only).
-no_check No check that the given change requests belong to the right software level.
-replace Replace all the change set's change requests by the given ones.
-remove Remove the given change requests from the change set's change requests.
-force Allows to close a change set that is current even if there are checked-out files.

[Top]

Examples

Closing a change set already having a description:

adl_ds_cs feb_RootT2Feb_1
Change set: feb_RootT2Feb_1 State: Closed Change request: 0444444B Desc: IR n°123456 fix
Created by feb with adl_ch_cs on Monday, October 11, 2004 05:20:04 PM in the workspace RootT2Feb. Not current in this workspace.

adl_close_cs feb_RootT2Feb_1
Closing the change set "feb_RootT2Feb_1" (csid:EKeYd1B81V23+++A2++l).

Closing a change set having no description:

(Change set already created automatically without description)
...
adl_close_cs -desc "Some checks add to the code"
Closing the change set "feb_RootT2Feb_12" (csid:EMc6MHB81V23-jl5Pbn2) with the description Some checks add to the code.

adl_ds_cs feb_RootT2Feb_12
Change set: feb_RootT2Feb_12 State: Closed Desc: Some checks add to the code
   Created by feb with adl_ch_cs on Thursday, November 04, 2004 11:45:52 AM in the workspace RootT2Feb. Not current in this workspace.


[Top]


References

[1]
[2]
[3]
[4]
[5]
[6]
adl_ls_cs: listing change set
adl_ds_cs : displaying change set information
adl_reorg_cs: reorganizing changes between change sets
adl_forget_chg: Forgetting change
adl_ren_cs : renaming a change set
adl_set_cs: setting characteristics of a change set

[Top]


History

Version: 1 [Nov 2004] Document creation

[Top]


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