ClearCase: loading an old version of a specific directory?

How to load an older version of a directory in UCM snapshot view? In our project, one developer-tested unregistered and non-compiled code for ClearCase. Another developer updated her opinion, then he did not compile the project due to the fact that previous developers did not miss the code. Therefore, the developer only wants to get the previous version of the catalog. How can I do this in snahpshot view and only for a specific directory?

+2
source share
1 answer

The first option would be to try to select the correct version of the subdirectory to return, for example:

element /path/to/directory /main/[branch]/[version]

But that would be wrong, because:

, , :

  • (...) :
    • , (- , )
    • , "setcs -stream" ( , " " ). UCM ( ) ( ) .

,
( LATEST; , ;
. 'cleartool man config_spec'):

# Add the following temporary rule only for your sub-directory and below
# (hence the '...')
element /aVob/myComponent/mySubDirectory/... .../STREAM_NAME/LATEST -time dd-Month-yyyy

element "[02945650fb1411d68504000180bdc4b6=\aVob]/myComponent/..." .../STREAM_NAME/LATEST
element "[02945650fb1411d68504000180bdc4b6=\aVob]/myComponent/..." FOUNDATION_BASELINE -mkbranch STREAM_NAME
element "[02945650fb1411d68504000180bdc4b6=\aVob]/myComponent/..." /main/0 -mkbranch STREAM_NAME

UCM : .
, .

+3

All Articles