2013-11-21 35 views

回答

2

一個最快的方法是,如果一切都沒有改變,默認情況下,簡單地嘗試和make a baseline(!)

  • ,ClearCase的UCM會拒絕做一個。
  • 如果一個人的變化:
    • A /你可以比較以前的新創建的基線得到修改版本的列表:
      cleartool diffbl -pred -ver [email protected]\aPVob
    • B /你可以,如果刪除新創建的基線您意圖不是馬上創造一個。

另一種相對快速的方式(因爲添加/移除的基線可能需要一段時間上的大部件,或其中存在已經很多基準)爲:

Find files in Clearcase view newer than a specific date?

如果您有最近一次基線的日期,則可以啓動對較新版本的搜索:

cleartool find <vobtag>/<component_root_dir> -element "{created_since(target-data-time)}" -print 

要獲得最新基線,請參閱「List the latest baseline of a component in a UCM stream one by one」。
然後日期可以是具有fmt_ccase指令獲得:

cleartool describe -fmt "%d" [email protected]/aPVob 
-1

做到這一點的最好,最簡單,最簡單的方法是通過在基線創建視圖,然後給出一個cleartool rebase -recommended。一旦你這樣做只是給cleartool lspriv -co這將爲您提供在創建視圖的基線之後修改的所有文件的列表。

+0

我可以知道我爲什麼錯了嗎? –

相關問題