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

Re: svn commit: r19626 - trunk/contrib/client-side

From: Giovanni Bajo <rasky_at_develer.com>
Date: 2006-05-14 02:19:33 CEST

Garrett Rooney <rooneg@electricjellyfish.net> wrote:

>> And with this module, wouldn't the code to find the revisions then
>> just be several lines, not 200?
>
> Would it be worthwhile to save the non-elementtree version of the code
> for use when elementtree isn't available?

Of course. The whole point is why we should bother maintaining two paths of
code, given that the regexp version does indeed work (bugs aside...). If we
keep it around, even if the elementtree version is more stable, we still have
to fix those bugs.

The only real improvement I'd see in using ElementTree is that it would allow
to parse the log message from a pipe (thanks to the iterparse API) instead of
having to load it all in memory. I think I had attempted something like this
before, but was forced to use generators and dropped it because of
compatibility issues. I'll revisit it.

> I'd hate to see most of our
> users all of a sudden have to go download an external module just to
> use svnmerge.py.

Sure.

>> Does ElementTree depend upon any other non-standard modules?
>
> I don't think so...

No, it doesn't.

Giovanni Bajo

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun May 14 02:20:04 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.