在 CC 中没有基线的情况下回滚到以前版本的最佳方法
我需要回滚到项目的先前版本,但我并没有真正创建基线。最好的方法是什么?我认为我有一个大型的clearfsimport 操作,它标记了我想要的视图将提前的当前版本。
创建这样的视图的最佳方法是什么?我希望我可以根据日期做一些事情,创建一个视图,其中包含日期 X 及之前的所有版本,或者可能是活动 X 及之前的所有版本。
我确实有大量已添加、更改和移动的文件,因此我需要一些可以排除所有新添加内容并包含自目标日期以来所有删除内容的文件。
有什么提示吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用非 UCM 视图,您可以在其中指定选择规则的时间指令:
请参阅“ClearCase:加载特定目录的旧版本?”。
一旦您拥有包含正确内容的视图,您就可以将其用作
clearfsimport -rmname
的源,并使用 UCM 视图作为目标(请参阅 clearfsimport,除了这里-rmname
选项确保您在目标中返回的文件数量与源视图中选择的文件数量完全相同)。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).