Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 2004 21:36:25 +0300
From:      Ville =?ISO-8859-1?Q?Skytt=E4?= <scop@FreeBSD.org>
To:        freebsd-cvsweb@FreeBSD.org
Subject:   Re: Linking to latest revision of a file
Message-ID:  <1082486185.5301.332.camel@bobcat.mine.nu>
In-Reply-To: <20040420143806.GB13838@nosc.ja.net>
References:  <20040420143806.GB13838@nosc.ja.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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://<server>/cgi-bin/cvsweb.cgi/<filename>?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://<server>/cgi-bin/cvsweb.cgi/~checkout~/path/to/filename



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1082486185.5301.332.camel>