How to remove a view owned by some else in clearcase

Posted on July 14, 2008

e.g: someone who left the company

If you cannot log into the the system (person’s machine died or was replaced) or left the company and cleartool rmview fails, and either the view doesn’t have checkouts or you want to throw them away, you can do the following (works on DOS prompt and unix commandline):

- cleartool lsview -l <view-tag>
  This should give you it's uuid (view uuid: a bunch of hexadecimal stuff with colons and periods in it)
  Copy the 2nd uuid entry and paste it in whereever you see <uuid> in the steps below (if you copy the first entry, you'll have
    uuid:<uuid> instead of <uuid>, which will fail):
- cleartool rmtag -view <view-tag>
- cleartool unregister -view -uuid <uuid>
- cleartool rmview -force -all -uuid <uuid>  (or use -avobs instead of -all)

Then you can delete the view-store (if it can be found, the view-store is also found in the cleartool lsview -l <view-tag>’s global path and/or view server access path.)

Popularity: 5% [?]

Related Posts:

» Filed Under Clearcase

Comments

Leave a Reply