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

Re: [PATCH] Repository log tools (WAS: Re: no patches outstanding? can it be true?)

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-02-08 06:35:22 CET

?? This script seems to use 'svnlook' in a loop to produce the exact
same output that one would get if they simply ran 'svn log'. I mean,
why not just put a single 'svn log' into svn_log.cgi?

David Summers <david@summersoft.fay.ar.us> writes:

> What happened with the following patch? Was it decided not to commit it?
>
> * tools/svn-log.pl, tools/svn-log.cgi : Add log generating tools for the
> subversion server.
>
> Index: ./tools/svn-log.pl
> ===================================================================
> --- ./tools/svn-log.pl
> +++ ./tools/svn-log.pl Mon Jan 28 18:16:32 2002
> @@ -0,0 +1,29 @@
> +#!/usr/bin/perl
> +# Generate a nice log format for the Subversion repository.
> +
> +use strict;
> +
> +my $repos = shift @ARGV;
> +
> +# Make sure we got all the arguments we wanted
> +if ((not defined $repos) or ($repos eq ''))
> + {
> + print "Usage: svn_logs.pl REPOS-PATH\n\n";
> + exit;
> + }
> +
> +# Get the youngest revision in the repository.
> +my $youngest = `svnadmin youngest $repos`;
> +chomp $youngest; # don't want carriage return
> +die ("Error using svnadmin to get youngest revision") if (not $youngest =~
> +/^\d/);
> +
> +while ($youngest >= 1)
> + {
> + print "--------------------------------------------------------\n";
> + print "Revision $youngest\n";
> + print `svnlook $repos rev $youngest info`;
> + print "\n";
> + $youngest--;
> + }
> +
> Index: ./tools/svn-log.cgi
> ===================================================================
> --- ./tools/svn-log.cgi
> +++ ./tools/svn-log.cgi Thu Feb 7 23:22:03 2002
> @@ -0,0 +1,6 @@
> +#!/bin/sh
> +# Call svn_log.pl with your favorite repository.
> +
> +echo "Content-type: text/plain"
> +echo ""
> +/var/www/html/svngui/svn-log.pl /home/svnroot/svngui
>
>
> On Thu, 7 Feb 2002, Karl Fogel wrote:
>
> > I've just finished a sweep, and as far as can tell, there are no
> > patches awaiting review or application right now. This is amazing,
> > and no doubt temporary. :-)
> >
> > If you have a patch that's awaiting response, sorry for overlooking it
> > and please repost here.
> >
> > Note these semi-exceptions:
> >
> > * A few patches about http proxies are lying dormant, until we
> > decide how to solve this. Right now the question seems to be
> > between whether APR should have an apr_get_http_proxy() function,
> > or whether Neon should somehow detect the proxy. If you have
> > thoughts on this, please start a new thread with the word "proxy"
> > in the subject line. :-)
> >
> > * Philip Martin's recent post entitled
> > "[PATCH] get second fulltext using a server diff"
> > is related to work Mike Pilato and I are doing on "svn diff"
> > right now, so we're looking at this patch and trying to figure
> > out how best to use it.
> >
> > * Bill Tutt's relocation of the trace editors and associated
> > changes are still outstanding, but I already posted about them
> > today, and probably updated patches (or something) will result.
> >
> > And that's it, as far as I know.
> >
> > A BIG thank you to those who have responded so enthusiastically to the
> > call for additional eyeballs. I frankly think this project (this
> > mailing list, rather) has one of the best average response times in
> > the open source world when it comes to submitted patches -- which is
> > one reason we have so many developers: eyeballs breed eyeballs, Darwin
> > notwithstanding.
> >
> > Bravi!
> >
> > -Karl
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: dev-help@subversion.tigris.org
> >
> >
>
> --
> David Wayne Summers "Linux: Because reboots are for upgrades!"
> david_at_summersoft.fay.ar.us PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
> PGP Key fingerprint = C0 E0 4F 50 DD A9 B6 2B 60 A1 31 7E D2 28 6D A8
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
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:37:05 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.