cleartool

Cleartool command to copy the directory and its contents from local file system to VOB

人走茶凉 提交于 2019-12-01 12:35:49
How to Copy the directory and its contents from local file system to VOB (Source control) I know there are commands ( mkdir , mkelem ) to create directory , elements and copy the files one by one. But I would like to know is there any easy way to do this as there are thousands of sub directories and files inside parent directory? VonC Yes: you can use clearfsimport , which is made precisely for that. It will do the mkdir , and cleartool mkelem (or cleartool checkout if you import new versions on top of existing versioned elements) See also " How can I use ClearCase to “add to source control …”

ClearTool: Finding changes from specific date

淺唱寂寞╮ 提交于 2019-12-01 12:23:40
I am at loss on how to list all files and directores that were deleted from branch "xyz" on date Mar-1. List all directories that had their contents changed on that same day. I tried transcribe the patterns from Cleartool - find unloaded/removed files from branches to dates, with no success. Thanks a million Adam VonC The find commands I mentioned in " Cleartool - find unloaded/removed files " are for files only. You can use them for directory if you use -type d (instead of -type f ) But that wouldn't address the date issue. since a file deletion results in a new directory version (to record

Cleartool removing a checkedout file from a folder with rmname

别等时光非礼了梦想. 提交于 2019-12-01 12:00:57
How can I use cleartool rmname to remove a file, that is checkedout by some one else, from a folder? Is this possible? The command-line cleartool rname -force is only necessary when the file is checked out in another branch. That allows to bypass the error message: 'file' has checkouts In that case, you need to check out the parent directory first, rmname , and then don't forget to check in the parent directory, or your file will still be visible by others. See more at the technote "About cleartool rmname and checkouts" There is a -force option available for cleartool rmname from command line

Cleartool removing a checkedout file from a folder with rmname

你。 提交于 2019-12-01 11:40:29
问题 How can I use cleartool rmname to remove a file, that is checkedout by some one else, from a folder? Is this possible? 回答1: The command-line cleartool rname -force is only necessary when the file is checked out in another branch. That allows to bypass the error message: 'file' has checkouts In that case, you need to check out the parent directory first, rmname , and then don't forget to check in the parent directory, or your file will still be visible by others. See more at the technote

ClearTool: Finding changes from specific date

a 夏天 提交于 2019-12-01 11:40:06
问题 I am at loss on how to list all files and directores that were deleted from branch "xyz" on date Mar-1. List all directories that had their contents changed on that same day. I tried transcribe the patterns from Cleartool - find unloaded/removed files from branches to dates, with no success. Thanks a million Adam 回答1: The find commands I mentioned in "Cleartool - find unloaded/removed files" are for files only. You can use them for directory if you use -type d (instead of -type f ) But that

Cleartool command to copy the directory and its contents from local file system to VOB

↘锁芯ラ 提交于 2019-12-01 11:10:23
问题 How to Copy the directory and its contents from local file system to VOB (Source control) I know there are commands ( mkdir , mkelem ) to create directory , elements and copy the files one by one. But I would like to know is there any easy way to do this as there are thousands of sub directories and files inside parent directory? 回答1: Yes: you can use clearfsimport , which is made precisely for that. It will do the mkdir , and cleartool mkelem (or cleartool checkout if you import new versions

how to run mkelem command in command prompt

瘦欲@ 提交于 2019-12-01 09:57:30
问题 i execuated the mkelem * command through cleartool command prompt but when i run the same command through command promp (cleartool mkelem *) it shows error what can i do the error is V:\Pold_Build\CCAD_REPO\CC_Training\vivekananda\guntur>cleartool mkelem -nc * Created element " " (type "compressed_file"). cleartool: Error: Checked out version, but could not copy data to " " in view: I nvalid argument. Correct the condition, then uncheckout and re-checkout the element. cleartool: Error: Unable

How to describe recommend baseline with pipeline

我的未来我决定 提交于 2019-12-01 09:01:40
问题 I am trying to find all the components baselines associated in a composite baseline. I am able to achieve it using following way cleartool desc -fmt %[rec_bls]CXp stream:My_Integration@\My_PVOB (I would save the receommended baselines in some variable using powershell and replace it in next command) cleartool describe -l baseline:"$Baseline"@\My_PVOB Is it possible to combine both command so that i can describe all the recommended baselines. In the above approach i am forced to use some

ClearCase list of files with given label type applied

落爺英雄遲暮 提交于 2019-12-01 06:36:05
We currently use clearcase on a project, and there is an HTML file that was generated with clearcase that contains all of the filenames of the files that were included in a label. I am supposed to generate this file with a different label. I know how to get all of the filenames that were included in a label using the cleartool command line, but that doesn't help me with generating the file. I don't want to manually take that list and create the HTML file. So, how do I create this file? I currently do not have a copy of the HTML file, but I have seen it. Hopefully this question isn't too

ClearCase list of files with given label type applied

空扰寡人 提交于 2019-12-01 03:02:41
问题 We currently use clearcase on a project, and there is an HTML file that was generated with clearcase that contains all of the filenames of the files that were included in a label. I am supposed to generate this file with a different label. I know how to get all of the filenames that were included in a label using the cleartool command line, but that doesn't help me with generating the file. I don't want to manually take that list and create the HTML file. So, how do I create this file? I