How Can I load of older version of a directory in a UCM snapshot view? In our project one developer checked-in not complated and non compilable code to ClearCase. Other developer updated her view then he was not compiling project because of previous developers's not complated code. So developer only wants to get previous version of directory.How Can I do this in snahpshot view and only for a specific directory?
相关问题
- How to restrict VOB read access in ClearCase (Wind
- preserving history when using mercurial ontop of c
- How to use ClearCase annotate sub-command?
- listing files checked in during last 2 days
- VS2008 and ClearCase : opening solution requests a
相关文章
- Provide version to independent files in clearcase
- How to undo checkout a file checked out from anoth
- Getting present working view in Clearcase
- What is the nature of a “MVFS filesystem” with Cle
- How to list only the name of the baselines in UCM
- Reuse a ClearCase view
- Value of using Git with ClearCase, AccuRev or Perf
- ClearCase: change branch type name?
A first possibility would be to try and select the correct version of the sub-directory to revert, like:
But that would be plain wrong, because:
extended path names is not supported in snapshot view, as explained in this SO question.
to select the directory alone is not enough (the files would still be selected as the LATEST versions available on the stream!)
And anyway, that would need to be added carefully in the config spec because:
setcs -stream
" occurrence (or the next time you push "Synchronize with stream"). At that time, the config spec of an UCM view (snapshot or dynamic) is regenerated (according to the configuration of the stream) and overrides your custom rule.A possible solution would be to modify your config spec of your snapshot view with a time-based rule
(It modifies the meaning of the special version label
LATEST
; the rule selects from a branch the last version that was created before a particular time;see '
cleartool man config_spec
'):Just tested in a snapshot UCM view: it works.
Adapt the date format to the date and time you need to revert that sub-directory to the proper state.