Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2002 13:06:41 +0200
From:      Erik Trulsson <ertr1013@student.uu.se>
To:        Mathieu Arnold <mat@mat.cc>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: cvs commit: src UPDATING src/sys/conf newvers.sh
Message-ID:  <20020417110640.GA11180@student.uu.se>
In-Reply-To: <174497243.1019047408@andromede.reaumur.absolight.net>
References:  <20020417104022.GA10940@student.uu.se> <174497243.1019047408@andromede.reaumur.absolight.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 17, 2002 at 12:43:28PM +0200, Mathieu Arnold wrote:
> 
> 
> --On mercredi 17 avril 2002 12:40 +0200 Erik Trulsson 
> <ertr1013@student.uu.se> wrote:
> 
> >On Wed, Apr 17, 2002 at 08:51:13AM +0200, Mathieu Arnold wrote:
> >>
> >>--On mardi 16 avril 2002 14:00 -0700 Jacques Vidrine
> >><nectar@FreeBSD.org>  wrote:
> >>
> >>> nectar      2002/04/16 14:00:16 PDT
> >>>
> >>>  Modified files:        (Branch: RELENG_4_5)
> >>>    .                    UPDATING
> >>>    sys/conf             newvers.sh
> >>>  Log:
> >>>  Note fixes for:
> >>>  = IP routing table leak in icmp_relect().
> >>>  = mmap/msync bug which can panic the kernel.
> >>>  = TCP broadcast connection bug.
> >>
> >>seeing that, I wanted to do some cvs diff command to show me the
> >>differences between -p2 and -p3. I can easily do a -r
> >>RELENG_4_5_0_RELEASE  -r RELENG_5_4, but that gives me the diffs between
> >>the release and -p3, and  whenever I try to use -D (using the dates in
> >>UPDATING), cvs keeps using the  HEAD tag and not the one in my
> >>directory. Does someone know how I can  achieve this (without having to
> >>check out -p2 (if I can) and -p3 and do a  diff -r on them)
> >
> >You can give two -r options to cvs diff.
> >cvs diff -r TAG1 -r TAG2 file
> >
> >will show the difference between versions TAG1 and TAG2 of the file.
> 
> yes, but there is not tag for 4.5-RELEASE-p2 or -p3 :)

Spending a couple of minutes reading the manpage for cvs(1) reveals teh
following trick:


cvs diff -j RELENG_4_5:date1 -j RELENG_4_5:date2  file

for viewing the difference between the dates 'date1' and 'date2' along the
RELENG_4_5 branch for the file 'file'.


-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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