From the ClearCase Project Explorer:
- Highlight the stream and select the activity from which you want to move the versions.
- Right-click to bring up the properties of the activity.
- Select the Change Set tab, select the Change Set and right-click on it to bring up a context menu.
- Select "Move to Activity...".
- From the available list of activities choose an existing one or choose to create a new activity by selecting the "New" button and creating the new activity.
- Highlight the activity to which you want to move the versions to and click OK.
- Click OK again.
From the command line:
- Change directory (cd) to the view that is associated with the stream which contains the change set and activity to be moved.
- M:\test_proj1>cleartool lsact -long new
activity "new"
13-Jul-01.13:10:47 by username.cc_users@username_ntw
owner: username
group: CC_USERS
stream: test_proj1.9907@\test_pvob
title: new
change set versions:
M:\test_proj1\test_comp\dir1\mytext.txt@@\main\test_proj1.9907\1
M:\test_proj1\test_comp\dir1\hello.txt@@\main\test_proj1.9907\1
- M:\test_proj1>cleartool chact -fcset new -tcset MOVED M:\test_proj1\test_comp\dir1\mytext.txt@@\main\test_proj1.9907\1
Moved version "M:\test_proj1\test_comp\dir1\mytext.txt@@\main\test_proj1.9907\1"
from activity "new" to activity "MOVED".
No comments:
Post a Comment