cleartool lsvtree element-path
The output of the lsvtree command uses version-extended paths to identify each version.
% cleartool lsvtree prog.cprog.c@@/main
prog.c@@/main/0
prog.c@@/main/r1_fix
prog.c@@/main/r1_fix/1
prog.c@@/main/r1_fix/2
prog.c@@/main/1
> lsvtree prog.cprog.c@@\main
prog.c@@\main\0
prog.c@@\main\r1_fix
prog.c@@\main\r1_fix\1
prog.c@@\main\r1_fix\2
prog.c@@\main\1
% cleartool diff prog.c@@/main/r1_fix/1 prog.c@@/main/1
> diff prog.c@@\main\r1_fix\1 prog.c@@\main\1
% cleartool get -to prog.old.c prog.c@@/main/r1_fix/1
> get -to prog.old.c prog.c@@\main\r1_fix\1
For example, in a text editor (on a UNIX system or Linux) or in the Open window of Visual Studio (on Windows systems), you can use the file name prog.c@@/main/r1_fix/1 (on a Windows system: prog.c@@\main\r1_fix\1) to open the first version on the r1_fix subbranch.
If your development application relies on specific file extensions, use a standard copy shell command to copy the version-extended path to a file name with the required extension.