Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 May 2004 20:43:33 +0200
From:      Andreas Kohn <andreas.kohn@gmx.net>
To:        "Kevin A. Pieckiel" <pieckiel+freebsd-questions@sdf.lonestar.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Searching CVS commits
Message-ID:  <1084905812.91867.6.camel@klamath.syndrom23.de>
In-Reply-To: <20040517192705.GA7889@SDF.LONESTAR.ORG>
References:  <20040517192705.GA7889@SDF.LONESTAR.ORG>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1084905812.91867.6.camel>