ClearCase: Is it possible to deliver or rebase selectively?

前端 未结 2 514
情歌与酒
情歌与酒 2021-01-21 13:09
  1. When delivering stream A to stream B, is it possible only to deliver selected elements (directories to be precise) from A to B?
  2. When rebasing a stream A from a ba
2条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-21 13:29

    cleartool findmerge does exactly what you are looking for. You'd need to build a wrapper (ANT/Perl) around it if your list is long.

    so go to the target stream/view context and run findmerge srcdir –type d –merge -print to test and replace -print with -exec,-gmerge,-abort etc. as you need. Just replace srcdir with your directory or an iterative list/variable/array in your script.

    Find complete details look at http://www.ipnom.com/ClearCase-Commands/findmerge.html

提交回复
热议问题