From owner-freebsd-questions@FreeBSD.ORG Tue May 18 16:12:12 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4926116A511 for ; Tue, 18 May 2004 16:12:10 -0700 (PDT) Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 9B71343F26 for ; Tue, 18 May 2004 15:45:32 -0700 (PDT) (envelope-from andreas.kohn@gmx.net) Received: (qmail 406 invoked by uid 65534); 18 May 2004 18:43:39 -0000 Received: from unknown (EHLO [212.204.44.203]) (212.204.44.203) by mail.gmx.net (mp015) with SMTP; 18 May 2004 20:43:39 +0200 X-Authenticated: #2431876 From: Andreas Kohn To: "Kevin A. Pieckiel" In-Reply-To: <20040517192705.GA7889@SDF.LONESTAR.ORG> References: <20040517192705.GA7889@SDF.LONESTAR.ORG> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-7kcfy96kp71nhWBUuuGZ" Message-Id: <1084905812.91867.6.camel@klamath.syndrom23.de> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 18 May 2004 20:43:33 +0200 cc: freebsd-questions@freebsd.org Subject: Re: Searching CVS commits X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2004 23:12:13 -0000 --=-7kcfy96kp71nhWBUuuGZ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2004-05-17 at 21:27, Kevin A. Pieckiel wrote: > I have a system running the latest sources via CVS in the RELENG_5_2 > branch. I want to update sys/kernel/vfs_syscalls.c from version 1.333 > (which is the latest available in this branch) to version 1.346 from > HEAD. The problem is that the commit for version 1.337 modified more > than one file--some function calls are added to the source such that > when I compile my kernel, I get this: >=20 > /usr/src/sys/kern/vfs_syscalls.c: In function `getfsstat': > /usr/src/sys/kern/vfs_syscalls.c:337: warning: implicit declaration of fu= nction `prison_check_mount' > /usr/src/sys/kern/vfs_syscalls.c: In function `kern_open': > /usr/src/sys/kern/vfs_syscalls.c:996: warning: implicit declaration of fu= nction `fdunused' > /usr/src/sys/kern/vfs_syscalls.c:1095: warning: redundant redeclaration o= f `fdunused' in same scope > /usr/src/sys/kern/vfs_syscalls.c:996: warning: previous declaration of `f= dunused' > /usr/src/sys/kern/vfs_syscalls.c: At top level: > /usr/src/sys/kern/vfs_syscalls.c:3783: warning: function declaration isn'= t a prototype > /usr/src/sys/kern/vfs_syscalls.c: In function `lgetfh': > /usr/src/sys/kern/vfs_syscalls.c:3794: error: dereferencing pointer to in= complete type > /usr/src/sys/kern/vfs_syscalls.c:3806: error: dereferencing pointer to in= complete type > *** Error code 1 >=20 > Obviously my sources don't have the prison_check_mount function call, > and I don't know how to determine which files were updated in this > specific commit--only the one file I need to update. How do I find > what files were modified when version 1.337 of sys/kernel/vfs_syscalls.c > was committed so that I can update those files in my source tree as well? >=20 > Thanks, > Kevin Hi, cvs can't provide you with that kind of information, because it doesn't remember it (cvs works on file-by-file base). But, it can tell you when the 1.337 commit to vfs_syscalls.c happened.=20 $ cvs log -r1.337 vfs_syscalls.c ... revision 1.337 date: 2004/02/14 18:31:11; author: rwatson; state: Exp; lines: +8 -0 ... You can then use the archive of the cvs-src mailing list at http://lists.freebsd.org/pipermail/cvs-src/2004-February to find the commit: http://lists.freebsd.org/pipermail/cvs-src/2004-February/018554.html That should tell you all modified files in this commit. HTH, Andreas PS: The log information for a single file can also be found via http://cvsweb.freebsd.org --=-7kcfy96kp71nhWBUuuGZ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAqllUYucd7Ow1ygwRAuhrAJ40WuI94LPT2up4B+s+CvKV+4+aAwCfWRSd g6n5MYNZPY2FOjkoZTERQcs= =Btqi -----END PGP SIGNATURE----- --=-7kcfy96kp71nhWBUuuGZ--