[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference smurf::buildhelp

Title:USG buildhelp questions/answers
Moderator:SMURF::FILTER
Created:Mon Apr 26 1993
Last Modified:Mon Jan 20 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:2763
Total number of notes:5802

1701.0. "bcreate -undo - Re: my ODE problem of the day" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Wed Aug 16 1995 14:42

Date Of Receipt: 	16-AUG-1995 10:46:52.17
From: 	SMURF::ALPHA::"[email protected]" "Joshua M. Friedman OSF/UNIX SDE  16-Aug-1995 1045"
To: 	[email protected], decwet::ode
CC: 	[email protected]
Subj: 	bcreate -undo - Re: my ODE problem of the day

DECwest can you please look at this?

Farrell, you successfully un-bcreated the old file (w/ just the "bcs -o").
Now just bcreate the new one.  You can use -c to set the comment
leader for a script:

     bcreate -c"# " dhcp

If you've already done the bcreate use    bcs -c"# " dhcp

copy in the old contents, with the header from /usr/sde/osf1/headers/header.sh
(or .ksh or .bsh or .csh)

Sounds like 'bcreate -undo' has confusing messages - it used to be that
this wasn't a command, because it was ambiguous; I see from the man page
it is now; perhaps there's a bug here.  "bcs [-u] -o" does what you want.
A routine process we have will clean remove the stub left in the rcs pool.

-josh


> Hi,
> 
> A short while ago I "bcreated" a shell script called /sbin/init.d/startdhcp.
> Now I need to change the name of this thing to "dhcp".  ODE won't let me
> outdate/remove "startdhcp".  I had created the script but I didn't check
> it into my private branch:
> 
> 1.205 marvin:ftw> bcreate -undo startdhcp
> 
> [ ./sbin/init.d/startdhcp ]
> rcs error: can't remove locked revision 1.1.1.1
> 1.210 marvin:ftw> bci -auto startdhcp
> 
> [ ./sbin/init.d/startdhcp ]
> [ scanning for HISTORY messages ]
> #       Add support for DHCP
> [ ./sbin/init.d/startdhcp Rev 1.1.1.1 checked in ]
> 1.211 marvin:ftw> bcreate -undo startdhcp
> 
> [ ./sbin/init.d/startdhcp ]
> [ bcreate should not undo revision 1.1.1.2 -- try bcs -o or bcs -u -o ]
> 
> 1.212 marvin:ftw> bcs -u -o startdhcp
> Confirm outdate for '-oFarrell_Woods_ptos' (all revisions)  [no]  yes
> 
> [ ./sbin/init.d/startdhcp ]
> rcs error: no lock set on revision 1.1.1.2
> 1.213 marvin:ftw> bcreate -undo startdhcp
> 
> [ ./sbin/init.d/startdhcp ]
> [ bcreate should not undo revision 1.1.1.2 -- try bcs -o or bcs -u -o ]
> 
> 1.214 marvin:ftw> bcs -u startdhcp
> 
> [ ./sbin/init.d/startdhcp ]
> rcs error: no lock set on revision 1.1.1.2
> 1.215 marvin:ftw> bcs -o startdhcp
> Confirm outdate for '-oFarrell_Woods_ptos' (all revisions)  [no]  yes
> 
> [ ./sbin/init.d/startdhcp ]
> [ deleting branch name 'Farrell_Woods_ptos' ]
> [ updating ./.BCSconfig ]
> rm: removing ./.BCSconfig
> rm: removing ./.BCSset-Farrell_Woods_ptos
> rm: removing ./.BCSlog-Farrell_Woods_ptos
> rm: removing ./sbin/init.d/startdhcp
> 1.216 marvin:ftw> bcs -u startdhcp
> 
> [ ./sbin/init.d/startdhcp ]
> [ revision does not exist -- unlock ignored ]
> 
> 1.217 marvin:ftw> bcreate -undo startdhcp
> 
> [ ./sbin/init.d/startdhcp ]
> [ can't undo ./sbin/init.d/startdhcp ]
> [ file not in current branch, your current working set, Farrell_Woods_ptos ].
> 
> 
> 
> 	-- Farrell
> 



T.RTitleUserPersonal
Name
DateLines