[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

1312.0. "bcs -u problem" by AOSG::FILTER (Automatic Posting Software - mail to flume::puck) Fri Mar 03 1995 13:08

Date Of Receipt: 	 3-MAR-1995 12:44:56.31
From: 	SMURF::WASTED::sandeep "Sandeep Shah USG  3-Mar-1995 1243"
To: 	odehelp@DEC:.zko.wasted
CC: 	sandeep@DEC:.zko.wasted (sandeep shah)
Subj: 	bcs -u problem

Hi,

I am getting a problem with undoing a checkout.  I had an erroneous checkout
in a particular set (./usr/sbin/netstat/inet.c).  I am trying to undo that,
but I deleted the checked out file by mistake.  Now this is what happens,
	
	[sandbox sp1170]
	%   bcs -u inet.c

	[ ./usr/sbin/netstat/inet.c ]
	rcs error: no lock set on revision 4.2.8.1

This implies to me that the file is not in the list of checked out files.
However if I do "bstat -all" then this file is still listed.. And if I try
to check it out from another set, then I get the following message:

	[sandbox sp1170 set netstat]
	% bco ./usr/sbin/netstat/inet.c

	[ ./usr/sbin/netstat/inet.c ]
	[ ./usr/sbin/netstat/inet.c already checked out to another set; branch check-out aborted ]


Any ideas, how I can fix this?  Thanks.

Sandeep


T.RTitleUserPersonal
Name
DateLines
1312.1Re: bcs -u problemAOSG::FILTERAutomatic Posting Software - mail to flume::puckFri Mar 03 1995 13:0923
Date Of Receipt: 	 3-MAR-1995 12:47:38.06
From: 	SMURF::FLUME::johnf "John Flanagan USG Test Johnf Tools Group  03-Mar-1995 1246"
To: 	Sandeep Shah USG <sandeep@DEC:.zko.flume>
CC: 	odehelp@DEC:.zko.flume
Subj: 	Re: bcs -u problem

bcs -o file

will outdate your branch.  -u unlocks your checked out branch.



 ______________________________________________________________________

 John Flanagan	 		enet:    [email protected]	
 MS: ZKO3-3/W20			decnet:  flambe::johnf
 USG Release Engineering		 (603) 881-1719
 110 Spitbrook Road 			 (DTN) 381-1719
 Nashua, NH  
 ______________________________________________________________________



1312.2Re: bcs -u problemAOSG::FILTERAutomatic Posting Software - mail to flume::puckSun Mar 05 1995 21:3776
Date Of Receipt: 	 5-MAR-1995 20:54:02.12
From: 	SMURF::FLUME::jmf "Joshua M. Friedman OSF/UNIX SDE"
To: 	odehelp sandeep
CC: 	
Subj: 	Re:  bcs -u problem

Sandeep, John has answered your question with the right command to remove
the file from your set (bcs -o file), but I wanted to explain the following:

> 	[ ./usr/sbin/netstat/inet.c ]
> 	rcs error: no lock set on revision 4.2.8.1
> 
> This implies to me that the file is not in the list of checked out files.

That's incorrect.  This just says you don't currently have a lock.  That means
you did a bco and then a bci.  The bci unlocked the file, and it's still in
your sandbox/set, confirmed by bstat -all.  However bstat -wall (writeable-all)
will only listed the writeable/locked files, which would not include this one.

To see your history on this file, do a 'blog file' and you'll see your
check-in record.  The bcs command takes both -u, unlock and -o, outdate.
If the file's bco'd and not bci'd you need both switches; in your case you
just want to outdate.  You can consider the file "checked out" until it's
oudated, either manually or at the tail end of a bsubmit.

-josh


-----
> From sandeep  Fri Mar  3 12:44:10 1995
> Delivery-Date: Fri, 03 Mar 95 12:44:17 -0500
> Return-Path: sandeep
> Received: from abelia.zk3.dec.com by flume.zk3.dec.com; (5.65/1.1.8.2/16Jan95-0946AM)
> 	id AA09217; Fri, 3 Mar 1995 12:44:10 -0500
> Received: from k2.zk3.dec.com by wasted.zk3.dec.com; (5.65 EXP 2/22/95 for V3.2/1.1.8.2/18Feb95-1123AM)
> 	id AA25540; Fri, 3 Mar 1995 12:43:47 -0500
> From: Sandeep Shah USG <sandeep>
> Received: by k2.zk3.dec.com; (5.65/1.1.8.2/27Jan95-1128AM)
> 	id AA01266; Fri, 3 Mar 1995 12:43:24 -0500
> Message-Id: <[email protected]>
> Subject: bcs -u problem
> To: odehelp
> Date: Fri, 3 Mar 95 12:43:24 EST
> Cc: sandeep (sandeep shah)
> X-Mailer: ELM [version 2.3 PL0]
> 
> Hi,
> 
> I am getting a problem with undoing a checkout.  I had an erroneous checkout
> in a particular set (./usr/sbin/netstat/inet.c).  I am trying to undo that,
> but I deleted the checked out file by mistake.  Now this is what happens,
> 	
> 	[sandbox sp1170]
> 	%   bcs -u inet.c
> 
> 	[ ./usr/sbin/netstat/inet.c ]
> 	rcs error: no lock set on revision 4.2.8.1
> 
> This implies to me that the file is not in the list of checked out files.
> However if I do "bstat -all" then this file is still listed.. And if I try
> to check it out from another set, then I get the following message:
> 
> 	[sandbox sp1170 set netstat]
> 	% bco ./usr/sbin/netstat/inet.c
> 
> 	[ ./usr/sbin/netstat/inet.c ]
> 	[ ./usr/sbin/netstat/inet.c already checked out to another set; branch check-out aborted ]
> 
> 
> Any ideas, how I can fix this?  Thanks.
> 
> Sandeep
> 
> 
>