Date: Thu, 03 Jun 2004 18:51:33 +0300 From: Ville =?ISO-8859-1?Q?Skytt=E4?= <scop@FreeBSD.org> To: freebsd-cvsweb@FreeBSD.org Subject: Re: cvsweb version 3:3.0.1-1 diff problems (and howto debug this) Message-ID: <1086277893.30172.244.camel@bobcat.mine.nu> In-Reply-To: <20040603093042.GB12805@vgelder.com> References: <20040602171019.GA12732@vgelder.com> <20040603093042.GB12805@vgelder.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2004-06-03 at 12:30, Koos Vriezen wrote: > You wrote: > For revision 1.2 for file 'myfile' in module 'mymodule' for our > internal web server (www.intern): [...] These look ok to me, although they don't look like the access log entries my Apache 2 generates. Just to be sure and to eliminate any browser issues: you did grab them from the access log, not the cvsweb HTML, right? > > I don't know if they're configuration errors or plain bugs, and dunno > > about the best way to debug either, but one lowly approach is to insert > > some warn() statements in the code and watch the web server error log. > > Recommendations where? When doing a diff, cvsweb should enter doDiff() near line 1320 or 1350 (the latter in your case, I guess, as the URLs have a ".diff" extension). Ditto, for annotate, it should enter doAnnotate() near line 1315. Try placing some warn()'s above those to find out why it (apparently) does not. > Btw, /var/smb/ontwikkel/cvs/CVSROOT/modules only contains lines starting > with '#'. But maybe cvsweb should even come to this part? Right, it should have went to doDiff() earlier.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1086277893.30172.244.camel>