[chora] CVS_History
Anil Madhavapeddy
anil@recoil.org
Sun, 28 Oct 2001 00:58:13 +0100
On Mon, Oct 22, 2001 at 09:31:22AM -0400, Colin Viebrock wrote:
> Here's that CVS history class I was talking about. I'm pretty sure the only
> thing wrong is that CVS expects some environment variables, and when the
> webserver runs the script, those variables aren't there.
>
Just took a quick look at this - you need a '-a' in there as well,
as CVS default behaviour is to only select the records from the user
and not everyone.
So if your webserver user hasnt done any commits (hope not!),
you will get no records output without the '-a' tag.
I've made this minor change to my copy of your work, and am writing an
interface to it, and hooking that into the Horde caching class as well.
By the way, I suspect that the format of 'cvs history' changes across
versions - any chance you could post a copy of what yours looks like?
I have:
M 2001-07-10 20:41 +0000 avsm 1.3 a.txt test == ~/test
on cvs-1.11.1p1 (OpenBSD-3.0)
Thanks for submitting it Colin! I'll commit it as soon as I finish
the interface pages.
Anil