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

Re: Anyone want a server load generator called svn-annotate.py?

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2003-07-29 14:36:26 CEST

Brandon Ehle wrote:

> I implemented a second mapping for the svn-annotate script that runs the
> command line client instead of the SWIG bindings and I may have found a
> reason why not to shell out to the command line.
> This version uses cat and Python's internal diff library instead of
> svn's diff command. Source for the new version is here
> http://subversion.kicks-ass.org/

Very cools stuff! (You see, you already got one more person to try it
out by not relying on the bindings. *grin*) One suggestion. You might
want to have diagnostic output (like the "Diffing revision whatever"
stuff) go to stderr instead of stdout, since at the moment, running the
script and redirecting stdout to a file gets a bunch of that sort of
output in with the actual annotated output of the file.

Also, I haven't looked at the algorithm you're using closely, but you
seem to be going from earliest to latest revisions. Perhaps it would be
possible to reverse that and go from latest to earliest, so that in the
case where an entire file has been rewritten, you can avoid some diffs.

Thanks again, this is very nice to have!


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 29 14:37:20 2003

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.