English 中文(简体)
从特定时间获取所有版本 - ClearCase UCM
原标题:Get all versions from a specific time - ClearCase UCM

我们使用ClearCase UCM, 有人问我是否有办法 从特定的时间 获得所有版本。

例如:正在开发一个发展流上开展工作。有人打破了建筑,但先前的基线太远了,我们会损失太多的工作。他们想获得上周四上午11时的每个文件版本。

Is this possible, even if it hasn t been baselined at that specific time? Is there a way to revert back to that specific time?

(我搜索了一个类似的话题, 但大部分都是"自..."后创造的")

最佳回答

“ 创建后” 是指查找类似于“ a href=” 的查询 。 https:// stackoverflow. com/ questions/767263/ find- files- in- clearcase- view- newer- than- a- a- particulate- 7676484# 767646484” > 在 Clearcase 视图中查找的文件比具体日期更新? 。

但对于你来说, 定义一种动态的视角比较容易, 使用特定的配置 spec < stronga href="https://stackoverflow.com/a/635282/6309" 时间选择规则 :

element /myPath/... .../StreamName/{!created_since(16-Sep-2009)}
element /myPath/... /main/{!created_since(16-Sep-2009)}
element /myPath/... /main/LATEST

So it would be a plain base-ClearCase dynamic view (easier to test when fiddling with the config spec: no files to load like in a snapshot view).
The fact that those files are currently managed by an UCM view in an UCM component doesn t preclude using base-ClearCase views.

目的是在正确的日期寻找版本:

  • first in the StreamName branch (if those files have been checked-out)
  • if not, in main branch

From there, if you want to "revert" to that content in your current UCM view, the easiest way to to re-import everything with a clearfsimport (-rmname to achieve the exact same content).
Create an UCM activity dedicated to that "re-import" in order to register all impacted files.

问题回答

暂无回答




相关问题
Teamcity and clearcase project spanning multiple vobs

I have a clearcase project spanning multiple vobs. Teamcity 5.0 appears to assume your project is on a single clearcase vob. Is it possible to have Teamcity build a clearcase project spanning ...

Clearcase UCM - Working with streams and components, how?

My co-workers and I are relatively need to the stream idea with Clearcase UCM. Currently management has created streams for each functional software package, each of which has defined interfaces and ...

Setting up TeamCity to work with ClearCase

I m trying to setup TeamCity to work with ClearCase for continuous integration, and I ve been having a few problems. TeamCity is complaining that it cannot build the patch for the build. I ve been ...

how to change views with clearcase on eclipse

I m using eclipse to work on a HUGE C project and it works generally well except for not being able to change views. I create a new project and set the project source to the clearcase vob directory ...

ClearCase UCM - best practices using components

We are migrating a fairly large codebase from VSS to Clearcase w UCM and are considering organizing our source into one or more components within a single project. What best practicespotential ...

Continuous Integration with Teamcity and Clearcase

Has anybody successfully integrated Clearcase with Teamcity (which advertises Clearcase support) to realize a productive continuous integration build environment on a decent size project?

热门标签