From owner-freebsd-cvsweb@FreeBSD.ORG Thu Jun 3 08:51:36 2004 Return-Path: Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CEEE16A4CE for ; Thu, 3 Jun 2004 08:51:36 -0700 (PDT) Received: from smtp3.pp.htv.fi (smtp3.pp.htv.fi [213.243.153.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0208C43D54 for ; Thu, 3 Jun 2004 08:51:36 -0700 (PDT) (envelope-from scop@FreeBSD.org) Received: from posti.pp.htv.fi (posti.pp.htv.fi [212.90.64.50]) by smtp3.pp.htv.fi (Postfix) with ESMTP id E675227B327 for ; Thu, 3 Jun 2004 18:51:34 +0300 (EEST) Received: from [62.78.130.181] (cs78130181.pp.htv.fi [62.78.130.181]) /8.11.1) with ESMTP id i53FpYJ25514 for ; Thu, 3 Jun 2004 18:51:34 +0300 (EETDST) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: freebsd-cvsweb@FreeBSD.org In-Reply-To: <20040603093042.GB12805@vgelder.com> References: <20040602171019.GA12732@vgelder.com> <20040603093042.GB12805@vgelder.com> Content-Type: text/plain Organization: FreeBSD Message-Id: <1086277893.30172.244.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Thu, 03 Jun 2004 18:51:33 +0300 Content-Transfer-Encoding: 7bit Subject: Re: cvsweb version 3:3.0.1-1 diff problems (and howto debug this) X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jun 2004 15:51:36 -0000 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.