silly freak wrote:in a nutshell, checkout only the desired dir plus its parent into an empty directory . . .
i have already reduced the problem to a single folder, res/cardsfolder and its contents. i and others have had problems checking out this simple case.
silly freak wrote:What made the checkout not work in the first place, I don't know, but maybe the problem has to do with your working copy...
i find that exceedingly unlikely. if the problem description has no preexisting working copy, then the problem itself cannot lie in something that does not exist.
i believe the problem is the large number of files that cardsfolder contains. it is unusual to have a single directory with so many files. i think svn gets overwhelmed or times out, because it has to lock the parent directory until it has locked and unlocked all of its children.
i would like to experiment with changing the structure of cardsfolder.we could organize it by using subdirectories for the first two characters in the cards' names. for example,
res/cardsfolder/a/f/affa_guard_hound.txt
res/cardsfolder/a/f/afflict.txt
res/cardsfolder/a/f/afterlife.txt
res/cardsfolder/a/f/aftershock.txt
i am comfortable modifying ReadCard.java so that it loads the cards from the proper places. (i know the last time i touched ReadCard was a fiasco, but this would be a smaller change.)
i can write a shell script to automatically move cards into these subdirectories from res/cardsfolder. this script would be executable under Linux, MacOS, and Cygwin.
would this affect existing tools too much? i see a couple of
Python scripts. i love how it highlights
Python.