From haro@h4.dion.ne.jp  Mon Apr 14 06:49:22 2003
Return-Path: <haro@h4.dion.ne.jp>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 2FD2D37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 Apr 2003 06:49:22 -0700 (PDT)
Received: from hfep06.dion.ne.jp (hfep06.dion.ne.jp [203.181.105.72])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 2A55343FBD
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 Apr 2003 06:49:21 -0700 (PDT)
	(envelope-from haro@h4.dion.ne.jp)
Received: from localhost ([61.200.137.102]) by hfep06.dion.ne.jp with ESMTP
          id <20030414134918702.PGQM@hfep06.dion.ne.jp>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Mon, 14 Apr 2003 22:49:18 +0900
Message-Id: <20030414.224916.74756518.haro@h4.dion.ne.jp>
Date: Mon, 14 Apr 2003 22:49:16 +0900 (JST)
From: Munehiro Matsuda <haro@h4.dion.ne.jp>
Reply-To: Munehiro Matsuda <haro@h4.dion.ne.jp>
To: FreeBSD-gnats-submit@freebsd.org
Subject: cvs does not update CVSROOT/options automatically

>Number:         50942
>Category:       gnu
>Synopsis:       cvs does not update CVSROOT/options automatically
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 14 06:50:10 PDT 2003
>Closed-Date:    Tue Apr 22 02:38:26 PDT 2003
>Last-Modified:  Tue Apr 22 02:38:26 PDT 2003
>Originator:     Munehiro Matsuda
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD jkpc11.ttr.kubota.co.jp 5.0-CURRENT FreeBSD 5.0-CURRENT #158: Sun Apr 13 19:08:27 JST 2003 haro@jkpc11.ttr.kubota.co.jp:/home/haro/tmp/sys/i386/compile/NEWJKPC11 i386

$ cvs --version
Concurrent Versions System (CVS) 1.11.5-FreeBSD (client/server)

>Description:

FreeBSD has localy added CVSROOT/options handling capability to cvs-1.11.5
for the base system.

When updating files in CVSROOT diectory, most of the files gets update
automatically, when changes are commited.
But for reasons unknown, CVSROOT/options file does not get updated
automatically, unlinke all other files.

>How-To-Repeat:

haro[1] pwd
/home/haro/tmp
haro[2] ls
haro[3] cvs -d /home/haro/tmp/cvs init
haro[4] ls cvs/CVSROOT
Emptydir/	config		editinfo,v	modules,v	taginfo
checkoutlist	config,v	history		notify		taginfo,v
checkoutlist,v	cvswrappers	loginfo		notify,v	val-tags
commitinfo	cvswrappers,v	loginfo,v	rcsinfo		verifymsg
commitinfo,v	editinfo	modules		rcsinfo,v	verifymsg,v
haro[5]
haro[5] cvs -d /home/haro/tmp/cvs co CVSROOT
cvs checkout: Updating CVSROOT
U CVSROOT/checkoutlist
U CVSROOT/commitinfo
U CVSROOT/config
U CVSROOT/cvswrappers
U CVSROOT/editinfo
U CVSROOT/loginfo
U CVSROOT/modules
U CVSROOT/notify
U CVSROOT/rcsinfo
U CVSROOT/taginfo
U CVSROOT/verifymsg
haro[6] 
haro[6] cd CVSROOT
haro[7] echo tag=Test=CVSHeader > options
haro[8] echo tagexpand=iTest >> options
haro[9] 
haro[9] cvs add options
cvs add: scheduling file `options' for addition
cvs add: use 'cvs commit' to add this file permanently
haro[10]
haro[10] cvs ci -m"Test options" options
RCS file: /home/haro/tmp/cvs/CVSROOT/options,v
done
Checking in options;
/home/haro/tmp/cvs/CVSROOT/options,v  <--  options
initial revision: 1.1
done
cvs commit: Rebuilding administrative file database
haro[11] 
haro[11] ls -l /home/haro/tmp/cvs/CVSROOT/options*
-r--r--r--  1 haro  user  207 Apr 14 21:35 /home/haro/tmp/cvs/CVSROOT/options,v
                                                                      ^^^^^^^^^
As you can see, CVSROOT/options file is missing.

>Fix:

--- src/contrib/cvs/src/mkmodules.c.ctm	Tue Sep  3 21:08:05 2002
+++ src/contrib/cvs/src/mkmodules.c	Mon Apr 14 19:08:38 2003
@@ -375,6 +375,13 @@
     {CVSROOTADM_CONFIG,
 	 "a %s file configures various behaviors",
 	 config_contents},
+
+
+    /* FreeBSD's local options file handling */
+    {CVSROOTADM_OPTIONS,
+	 "a %s file configures optional header handling",
+	 NULL},
+
     {NULL, NULL, NULL}
 };
 
>Release-Note:
>Audit-Trail:

From: Simon 'corecode' Schubert <corecode@corecode.ath.cx>
To: Munehiro Matsuda <haro@h4.dion.ne.jp>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: gnu/50942: cvs does not update CVSROOT/options automatically
Date: Tue, 15 Apr 2003 14:48:32 +0200

 --=.yw.C5DLPwdX5'g
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: 7bit
 
 Lately Munehiro Matsuda told:
 
 > >Number:         50942
 > >Category:       gnu
 > >Synopsis:       cvs does not update CVSROOT/options automatically
 
 dupe of gnu/34246
 
 cheers
   simon
 
 -- 
 /"\   http://corecode.ath.cx/#donate
 \ /
  \     ASCII Ribbon Campaign
 / \  Against HTML Mail and News
 
 --=.yw.C5DLPwdX5'g
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.0 (GNU/Linux)
 
 iD8DBQE+m/+nr5S+dk6z85oRAn2YAKDE0wNLYmQuLsEAnqgLzm2JkjhkvwCgwjLg
 XUvwx2rw+abSJARX+AeGj4I=
 =xqx6
 -----END PGP SIGNATURE-----
 
 --=.yw.C5DLPwdX5'g--
State-Changed-From-To: open->closed 
State-Changed-By: maxim 
State-Changed-When: Tue Apr 22 02:37:59 PDT 2003 
State-Changed-Why:  
Duplicate of gnu/34246. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=50942 
>Unformatted:
