bug with cvsweb diffs?

Simon L. Nielsen simon at FreeBSD.org
Fri Mar 16 06:51:17 UTC 2007


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


More information about the freebsd-www mailing list