From owner-freebsd-www@FreeBSD.ORG Fri Mar 16 06:51:17 2007 Return-Path: X-Original-To: freebsd-www@freebsd.org Delivered-To: freebsd-www@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9A3DC16A402 for ; Fri, 16 Mar 2007 06:51:17 +0000 (UTC) (envelope-from simon@zaphod.nitro.dk) Received: from mx.nitro.dk (zarniwoop.nitro.dk [83.92.207.38]) by mx1.freebsd.org (Postfix) with ESMTP id 5324813C45E for ; Fri, 16 Mar 2007 06:51:16 +0000 (UTC) (envelope-from simon@zaphod.nitro.dk) Received: from zaphod.nitro.dk (unknown [192.168.3.39]) by mx.nitro.dk (Postfix) with ESMTP id E7F7A32DE02; Fri, 16 Mar 2007 06:51:15 +0000 (UTC) Received: by zaphod.nitro.dk (Postfix, from userid 3000) id ADB501141E; Fri, 16 Mar 2007 07:51:15 +0100 (CET) Date: Fri, 16 Mar 2007 07:51:15 +0100 From: "Simon L. Nielsen" To: Steven Hartland Message-ID: <20070316065114.GA980@zaphod.nitro.dk> References: <001901c76765$8496c660$b3db87d4@multiplay.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001901c76765$8496c660$b3db87d4@multiplay.co.uk> User-Agent: Mutt/1.5.11 Cc: freebsd-www@freebsd.org Subject: Re: bug with cvsweb diffs? X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2007 06:51:17 -0000 On 2007.03.16 00:53:24 -0000, Steven Hartland wrote: > I've just been trying to get a patch for the areca driver > and noticed that no matter which way round you select > versions for diffs you always get the same result. > > This means that you cant actually just grab a "patch" > for a file from cvs as it does the diff the wrong > way round forcing patch to moan about -R. > > An example of this can be seen by comparing the following > two links: > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/arcmsr/arcmsr.c.diff?r1=1.8.2.3&r2=1.8.8.1 > http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/arcmsr/arcmsr.c.diff?r1=1.8.8.1&r2=1.8.2.3 > > Both end up running: > diff -u -p -r1.8.2.3 -r1.8.8.1 > > Where I would expect the first link to do: > diff -u -p -r1.8.2.3 -r1.8.8.1 > but the second to do: > diff -u -p -r1.8.8.1 -r1.8.2.3 > > Would be nice to get this fixed so its easy to get working > diffs for version and should be pretty easy to fix. I'm planning to upgrade FreeBSD cvsweb to 3.0 soon so it's probably not worth looking to much into fixing the current cvsweb. That said, I have no idea if the above mentioned problem is fixed in cvsweb 3. -- Simon L. Nielsen