python crash - Freedesktop CVS - directory - xorg: xc/programs/Xserver/hw

Kristian Høgsberg krh at bitplanet.net
Tue Nov 2 08:56:02 PST 2004


Daniel Stone wrote:
> On Fri, Oct 15, 2004 at 02:14:14PM -0700, Stuart Kreitman wrote:
> 
>>Can someone help investigate breakage in viewcvs?
>>Go to the following link and click on xfree86, xfree68, xfree98.
> 
> I've had a look at this earlier on, and I don't know what's going on.
> CVS is being crack, and so is ViewCVS.  I'll see what jamesh (ViewCVS
> author, IIRC) has to say.

I went and had a look at this and the reason ViewCVS crashes is that 
some of the RCS files in CVS have a default branch set that doesn't 
exists.  For example:

$ rlog xc/programs/Xserver/hw/xfree86/Mach32.c,v

RCS file: Mach64.c,v
Working file: Mach64.c
head: 1.1
branch: 1.1.1
locks: strict
access list:
symbolic names:
         XORG-CURRENT-CLOSED: 1.1.4.1
         XACE-SELINUX: 1.1.4.1.0.2
         XACE-SELINUX-BASE: 1.1.4.1
         XEVIE-MERGE: 1.1.4.1
         XORG-CURRENT: 1.1.0.4
         XORG-STABLE: 1.1.0.2
         XORG-MAIN: 1.1
         PRE_xf86-4_3_0_1: 1.1.1.1
         XFree86: 1.1.1
keyword substitution: kv
total revisions: 2;     selected revisions: 2
description:
----------------------------
revision 1.1
date: 2003/11/14 15:54:48;  author: kaleb;  state: Exp;
branches:  1.1.4;
R6.6 is the Xorg base-line
----------------------------
revision 1.1.4.1
date: 2003/11/30 13:13:36;  author: kaleb;  state: dead;  lines: +0 -0
xfree86 merge
=============================================================================

 From what I could google about this, setting the RCS default branch of 
a file in CVS is away of reverting to the vendor branch.  The problem is 
that the 1.1.1 branch that has been set as default does not exist in the 
file, and this is clearly an error.  It causes "rlog -r Mach32.c,v" to 
exit with failure, and since this is what ViewCVS uses that is why it is 
broken atm.  My guess is that someone did "cvs admin -b1.1.1" at some 
point, though I'm not sure why, and the weird thing is that only some of 
the files in the repository has a default branch set, see

   http://freedesktop.org/~krh/files-missing-1.1.1.txt

It's fairly easy to revert this, you can just clear the RCS default 
branch by saying:

   rcs -b Mach32.c,v

for the files listed above and ViewCVS will work again.  I can't see how 
this could cause problems given that the current setting is in error, 
but I just wanted to check with the list before clearing the default 
branch settings.

cheers,
Kristian


More information about the release-wranglers mailing list