Date: Fri, 16 Mar 2007 07:51:15 +0100 From: "Simon L. Nielsen" <simon@FreeBSD.org> To: Steven Hartland <killing@multiplay.co.uk> Cc: freebsd-www@freebsd.org Subject: Re: bug with cvsweb diffs? Message-ID: <20070316065114.GA980@zaphod.nitro.dk> In-Reply-To: <001901c76765$8496c660$b3db87d4@multiplay.co.uk> References: <001901c76765$8496c660$b3db87d4@multiplay.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070316065114.GA980>