From owner-freebsd-cvsweb@FreeBSD.ORG Tue Apr 20 11:36:32 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 BA82616A4CE for ; Tue, 20 Apr 2004 11:36:32 -0700 (PDT) Received: from smtp3.pp.htv.fi (smtp3.pp.htv.fi [213.243.153.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6061943D4C for ; Tue, 20 Apr 2004 11:36:32 -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 A129D27AEB2 for ; Tue, 20 Apr 2004 21:36:26 +0300 (EEST) Received: from [62.78.130.181] (cs78130181.pp.htv.fi [62.78.130.181]) /8.11.1) with ESMTP id i3KIaQh20825 for ; Tue, 20 Apr 2004 21:36:26 +0300 (EETDST) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: freebsd-cvsweb@FreeBSD.org In-Reply-To: <20040420143806.GB13838@nosc.ja.net> References: <20040420143806.GB13838@nosc.ja.net> Content-Type: text/plain Organization: FreeBSD Message-Id: <1082486185.5301.332.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Tue, 20 Apr 2004 21:36:25 +0300 Content-Transfer-Encoding: 7bit Subject: Re: Linking to latest revision of a file 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: Tue, 20 Apr 2004 18:36:32 -0000 On Tue, 2004-04-20 at 17:38, Rob Evans wrote: > CVSweb is up and running, but what I would like to do is link to "the > newest" revision of files from a separate HTML page. In other words, a > link along the lines of the following (but which actually works): > > http:///cgi-bin/cvsweb.cgi/?rev=HEAD Hm, *that* should actually work. Ditto for "?rev=." It's a bug in CVSweb 3.0, but works in 2.0.x; will take a look. If you want to checkout the latest revision of a file (ie. not show the HTMLized source etc), this should work in all CVSweb versions: http:///cgi-bin/cvsweb.cgi/~checkout~/path/to/filename