Suppose user has mistakenly deleted file /org/projects/rahul/data.xml.
To get back the file in clearcase revision, do following steps:
To get back the file in clearcase revision, do following steps:
- From a dynamic view, go to /org/projects/ folder.
- /org/projects$ cleartool desc rahul
This will print information like,
directory version "rahul@@/main/3" created 2009-12-30T04:02:42-05:00 by Rahul Singhai (singrahu@gmail.com) "Version created by Namespace modification subsystem Uncataloged file element "data.xml"." Element Protection: User : rahul : rwx Group: singhai : rwx Other: : --- element type: directory predecessor version: /main/2
- Get lastest version of affected folder and type
/org/projects$ cleartool rmver -ver /main/3 rahul
This will remove latest version from clearcase, and folder will rollback to previous version.
Comments