Re: Slow performance in check-case-insensitive.pl?
From: Martin Tomes <lists_at_tomes.org>
Date: 2005-07-26 14:46:03 CEST
Marc Sherman wrote:
> Ok, do you possibly have a few minutes to describe the changes you were
Python isn't as bad as I thought it would be, I even got to quite like
Currently the script looks for all added files, then it finds the
This is a bit silly, but being new to Python and more importantly the
What the script should do is:
for each of the added files:
for each of the directories
Example 8.2 from the book has a useful snippet of code for doing this:
http://svnbook.red-bean.com/en/1.1/svn-book.html#svn-ch-8-sect-2.3-ex-1
I think the script will be smaller, simpler and most importantly a lot
>> The old script can miss filename clashes, so the new one is an
It is the way it calculates the root of the changed part of the tree, it
Thanks for the offer of help - it is much appreciated.
-- Martin Tomes echo 'martin at tomes x org x uk'\ | sed -e 's/ x /\./g' -e 's/ at /@/' Visit http://www.subversionary.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org For additional commands, e-mail: users-help@subversion.tigris.orgReceived on Tue Jul 26 14:48:07 2005 |
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.