[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: Brandon Ehle <azverkan_at_yahoo.com>
Date: 2003-07-29 17:43:53 CEST

Garrett Rooney wrote:

> 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.
>
Yeah, I've already planning to do that, but I haven't found a single
test case for this yet. There is almost always at least one line of
whitespace or something that goes back to the initial revision. :)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 29 17:44:01 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.