Best way to roll back to previous versions without baseline in CC

梦想与她 提交于 2020-01-25 02:24:06

问题


I need to roll back to a previous version of my project, but I haven't really been creating baselines. Whats the best way to do this. I think I have a large clearfsimport operation that marks the current version that my desired view would pre-date.

What is the best way to create a view like this. I was hoping I could do something based on date that would just create a view that includes all versions from Date X and before, or perhaps Activity X and before.

I do have a large number of files that were added and changed and moved so I need something that will exclude all new additions and include all deletions since the target date.

Any hints?


回答1:


Use a non-UCM view in which you can specify a time directive of selection rule:
see "ClearCase : Loading Older Version of a specific Directory?".

Once you have a view with the right content, you can use it as a source for a clearfsimport -rmname, using your UCM view as destination (see clearfsimport, except here the -rmname option make sure you get back the exact same number of files in the destination than selected in your source view).



来源:https://stackoverflow.com/questions/9232540/best-way-to-roll-back-to-previous-versions-without-baseline-in-cc

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!