Is there a better way to do this?

Richard Brodie R.Brodie at rl.ac.uk
Mon Mar 1 12:47:59 EST 2010


"Matt Mitchell" <mmitchell at transparent.com> wrote in message 
news:mailman.65.1267464765.23598.python-list at python.org...
> My initial idea was to make a list of all the different
> ways "project" has been capitalized in my repo and try each one.  The
> code looks like this:

I would use pysvn.Client.list to get a list of files at whatever directory level
you require. Then you can do a case insensitive compare or whatever else.





More information about the Python-list mailing list