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

Re: browsing the reprository

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-11-30 18:06:38 CET

Mattias Rönnblom <hofors@lysator.liu.se> writes:

> I'm trying to implement
>
> svn ls [-r] [URL|wc-path]
>
> I'm not sure whether this is a useful feature or bloat, but it
> looked like a nice way of getting to know SVN under to hood.

Mattias, this is probably unnecessary, since this 'browsing'
functionality is really part of the reason we're using the WebDAV
protocol.

  * Go build a utility called 'cadaver'. Joe Orton wrote it, and it's
    an ftp-like shell for browsing a webdav server. It works 95%
    right now against a Subversion server; you can interactively
    browse the latest revision this way.

  * Open your web browser and type a normal URL, like this:

       http://svn.collab.net/repos/svn/trunk/README

    Poof, there's the README file in the head revision. All we need
    to do is tweak mod_dav to produce a repsonse when browsing
    directories, and we're done. Your web browser is all you need.

    Similarly, you can see README in revision 5 like this:

       http://svn.collab.net/repos/svn/$svn/bc/5/trunk/README
  
  * If you have a local repository (ra_local), try running the
    svnadmin tool like this:

      $ svnadmin shell /path/to/local/repos

    Now you can interactively explore different revisions, and examine
    node-rev-ids for debugging purposes.

So, in summary: it's great that you want to contribute to
Subversion. But think the problem you're trying to solve is already
well-covered; maybe you can work on improving the behavior of the
first two bullet points above, instead of implementing new client
subcommands?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:50 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.