You don't have to get too fancy with this one:
#!/bin/ksh
echo "Restricted command ..."
exit 1
It just requires a non-zero exit status to fire. Of course you could
incorporate a clearprompt also, but this should suffice.
-----Original Message-----
From: owner-cciug@rational.com [mailto:owner-cciug@rational.comOn
Behalf Of Doug.Shaw@pb.com
Sent: Thursday, July 19, 2001 10:57 AM
To: cciug@rational.com
Subject: RE: [cciug] Doubt
Anyone have an rmelem trigger that they would be willing to share? Doug
"Wagner, Claudia" <hwahwa@lucent.com>@rational.com on 07/19/2001 08:57:35
AM
Sent by: owner-cciug@rational.com
To: "'Jordan, William'" <jordanwr@msx.upmc.edu>, "'cciug@rational.com'"
<cciug@rational.com>
cc:
Subject: RE: [cciug] Doubt
rmelem is permanent. it removes the element from *all* directory versions
it had once lived in (so that if you went back to earlier directorie
versions, that element will not be there anymore). it is permanent... it
does not end up anywhere else in the VOB, not even in lost+found. once
rmelem is run, it disappears from the current version too (but if you had a
view private in some view, then it will still look like it is there). for
damage control, you can put a trigger on rmelem, and tell developers that
they need to use rmname to remove it from the current directory and future
versions. -c-----Original Message-----From: Jordan, William
[mailto:jordanwr@msx.upmc.eduSent: Thursday, July 19, 2001 8:30 AMTo:
'cciug@rational.com'Subject: RE: [cciug] Doubt
Just a general question to anyone. If you do a rmelem, does it remove the
element completely from the vob or is it still in the vob from a previous
version? Like I said before, I am new to this and I don't want to make
the same mistake.
If it does remove it completely from the vob, how do you remove an element
from the current version you are working on?
Thanks,
Bill Jordan Internet Applications Architect II
mailto:jordanwr@msx.upmc.edu University of Pittsburgh Medical Center
Phone: (412) 647-9521
"Prasad, Babitha" wrote:
> Hi! > > If we delete an element by using rmelem, accidently is there
any way to > retrive them . > > Thankyou > - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - >
> "unsubscribe cciug" (the subject is
ignored). You > using the sign-up form at the
ClearCase >
http://clearcase.rational.com/cciug/mailing_list.html
--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - [ To unsubscribe, send email to "unsubscribe cciug" (the subject is ignored). You using the sign-up form at the ClearCase customers-only website http://clearcase.rational.com/cciug/mailing_list.html
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 22:03:58 EDT