Topic
  • 5 replies
  • Latest Post - ‏2012-04-13T07:18:48Z by JohnLevin_ORACLE
JohnLevin_ORACLE
JohnLevin_ORACLE
5 Posts

Pinned topic ClearCase Commands To Find Deleted List of Files in a branch

‏2012-04-09T11:37:08Z |
Hi,

Can anybody give the command that will list all the deleted list of files in a branch
  • marct22
    marct22
    488 Posts

    Re: ClearCase Commands To Find Deleted List of Files in a branch

    ‏2012-04-09T17:32:25Z  
    One possible way is to set your config spec to look at that branch. Let's assume your branch you are looking at is my_branch. You'd want this config-spec line at the very top (even above your CHECKEDOUT line):
    element * .../my_branch/LATEST)

    then run
    cleartool find -all -nvisible -version "version(.../my_branch/LATEST)" -print

    That should show the invisible stuff (directories as well as files (and links) that have that branch but is no longer visible.

    Marc Towersap
    Sr Consultant
    ReleaseTEAM
    mtowersap@releaseteam.com
  • SystemAdmin
    SystemAdmin
    47283 Posts

    Re: ClearCase Commands To Find Deleted List of Files in a branch

    ‏2012-04-11T11:10:34Z  
    • marct22
    • ‏2012-04-09T17:32:25Z
    One possible way is to set your config spec to look at that branch. Let's assume your branch you are looking at is my_branch. You'd want this config-spec line at the very top (even above your CHECKEDOUT line):
    element * .../my_branch/LATEST)

    then run
    cleartool find -all -nvisible -version "version(.../my_branch/LATEST)" -print

    That should show the invisible stuff (directories as well as files (and links) that have that branch but is no longer visible.

    Marc Towersap
    Sr Consultant
    ReleaseTEAM
    mtowersap@releaseteam.com
    Marc T wrote:
    > One possible way is to set your config spec to look at that branch.

    Confusing 'branch' and 'branch type' makes it unclear what is actually wanted.

    Marc
  • marct22
    marct22
    488 Posts

    Re: ClearCase Commands To Find Deleted List of Files in a branch

    ‏2012-04-11T16:12:40Z  
    Marc T wrote:
    > One possible way is to set your config spec to look at that branch.

    Confusing 'branch' and 'branch type' makes it unclear what is actually wanted.

    Marc
    No one ever said anything about branchtype. The OP wanted to know how to find a list of files that were deleted on a branch. I suggested one possible solution. I noted it found more than files.

    If you have a better solution, please share!

    Marc Towersap
    Sr. Consultant
    ReleaseTEAM
    mtowersap@releaseteam.com
  • SystemAdmin
    SystemAdmin
    47283 Posts

    Re: ClearCase Commands To Find Deleted List of Files in a branch

    ‏2012-04-12T17:13:17Z  
    • marct22
    • ‏2012-04-11T16:12:40Z
    No one ever said anything about branchtype. The OP wanted to know how to find a list of files that were deleted on a branch. I suggested one possible solution. I noted it found more than files.

    If you have a better solution, please share!

    Marc Towersap
    Sr. Consultant
    ReleaseTEAM
    mtowersap@releaseteam.com
    Marc T wrote:
    > No one ever said anything about branch type.

    That's what I am not sure of.

    > The OP wanted to know how to find a list of files that were deleted on a branch.

    To me, it was not clear whether he meant one branch, or multiple branches of the same type.

    > I suggested one possible solution. I noted it found more than files.

    It looked at all the branches of this type...

    > If you have a better solution, please share!

    I try my best, but for a start, by clarifying the question.
    Depending on what is needed, your solution may be OK.

    Marc
  • JohnLevin_ORACLE
    JohnLevin_ORACLE
    5 Posts

    Re: ClearCase Commands To Find Deleted List of Files in a branch

    ‏2012-04-13T07:18:48Z  
    HI marc,

    Actually Im referring here branch (which may contain base branches too).

    like the below config spec

    element * /main/branch_2.0/LATEST
    element * /main/branch_1.0 -mkbranch branch_2.0

    Here, i just want to know the list of files that has been deleted as part of this Config spec.

    NOw, If i run -nvisible command in this Config spec, then its listing More Number of files which is actually not deleted as well.

    Is there any ways to Find out this with command (like what we can get in lsvtree functionality in GUI to find deleted lists)