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

Re: svn commit: r37073 - trunk/tools/client-side

From: Greg Stein <gstein_at_gmail.com>
Date: Tue, 7 Apr 2009 19:39:30 +0200

On Tue, Apr 7, 2009 at 18:19, C. Michael Pilato <cmpilato_at_collab.net> wrote:
> Author: cmpilato
> Date: Tue Apr  7 09:19:05 2009
> New Revision: 37073
>
> Log:
> Add a new tool I've been tinkering with as a prototype of some
> viewspec functionality for Subversion.  It has plenty of room for
> improvement, but seems to have basic working functionality.

Why the tree? You sort the paths into a list such that all parents
will come first. You should be able to process them just like that,
rather than jamming them into some weird ol' tree structure.

Also, the "getters" are not worth it in Python. Just declare the
attributes public and fetch them. As Guido says, "we're all adults
here". No need to hide them or think users will monkey with them.

>...

I made a few little (untested) edits to clean it up a bit.

Cheers,
-g

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1580570
Received on 2009-04-07 19:50:53 CEST

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.