[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

ViewCVS/cvsweb and SVN (was: Re: Introduction)

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-03-02 23:09:24 CET

On Fri, Mar 02, 2001 at 11:38:32AM -0800, Brian Behlendorf wrote:
> On Fri, 2 Mar 2001, Lee Burgess wrote:
> > Lastly, It was my impression that a new and separate cvsweb-like
> > interface will be largely unnecessary in Subversion. The reason for
> > this being that access to a Subversion respository is over HTTP and
> > via mod_dav (mod_dav_svn), allowing repository trees to be examined in
> > a web browser.
>
> Er, not exactly. It'll only duplicate all the value of cvsweb or viewcvs
> if it's got a nearly as rich interface to versioning. Most web browser
> can't even speak basic DAV, let alone show something as nice as what those
> tools do. So, it'll still be needed, until all web browser are DAV
> versioning tools too. =)

Oh, you're thinking too small Brian :-)

There is no reason that mod_dav_svn cannot return web pages for URLs within
its space. If you request a directory, it can generate a page just like
ViewCVS, with links to each of the files within it. Go there, and get a log
of each revision. etc.

Theoretically, of course. I'm not about to generate web pages from C. Too
much pain, and too inflexible.

Now... mod_dav_svn *will* provide a way to navigate the repository in a
simple fashion using your web browser. You'll be able to navigate through
the "head" of the tree, and (probably) have a way to link over to a specific
revision (and navigate thru that). It will be missing diffs, annotation, log
comments, etc, which ViewCVS provides.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:24 2006

This is an archived mail posted to the Subversion Dev mailing list.