

The clearfsimport makes working with the ClearCase abomination borderline bearable.
CLEARTOOL PWV AFTER ENDVIEW HOW TO
how to list the current version of a file used by a view and the rule that applied.Since the CC pseudo-filesystem is accessible like any normal filesystem, you can use typical programs such as tree or find. Take advantage of the pseudo-filesystem that CC uses &emdash accessible with the symbols. how to list all versions and labels on a file.To nail that file to the /main/dbdev_br/4 version I only had to add a single line (using ct edcs) as follows:Įlement /vobs/ASC_DB_WEB/src/db/element /vobs/ASC_BUILD/. … and was pointing at the /main/dbdev_br/5 version. My original config spec was the following:Įlement * /main/LATEST -mkbranch dbdev_br In my particular case, I had the file showcased in this tip where the latest version was /main/dbdev_br/5 (and was also laballed ANTBUILD). how to edit your view configuration to pickup a specific version of a specific file.NB: rules that appear first (higher up) in the ct catcs output take precedence over rules that appear further down. Once you're in that view (whatever " in" may mean) you simply do: Needs to be created first and the way to do this is as a side effect of a ct setview command To cd there, the some-view-name directory by cd-ing into the /view/some-view-name directory (which is the.by using ct setview some-view-name which gives you a new shell.You should know by now that there are two ways to "enter" a particular how to examine the view configuration of a particular viewįirst of all you need to "enter" that particular view.Dates are displayed in the US notation without the year. … the above command reports latest commits first (higher up in the how to see the commit history of a particular file.… the above incantation also shows the rule that gets applied and selects this particular version. how to see which version of a file gets picked up by the view I am currently in.You can select files and view their versioning tree.Īlternatively, (to just view the tree for a particular file you're interested in) use: Use the xclearcase tool (without any parameters) to launch an explorer-type graphical tool With graphical tool to view commits / branches / merges on files Virtual file system that's accessible after sufixing the file's name … personally I'd much rather use git diff and the view diff with the immediately previous version of a file.
