I have been waiting for JBuilder 2005 as it supports subversion. In
earlier versions, there is a "feature" which has the effect of
deleting all the empty directories under the .svn folder when you do a
build from the IDE, specifically when your target is any of the EJB
archives. This is hard wired in the IDE(*), there are panels for
specific filename filters but if you export the internal build task to
ant you see an entry in its cleanup task for includeemptydirs="true",
so the filters for empty folders are irrelevant. The effect is only
the 3 files "empty-file, entries, format" are left in the .svn folder
(for some reason README.txt goes too). At this point you can commit,
but the next time you update tsvn complains about the missing tmp
folder and suggests you run cleanup. When you do, you are told the tmp
directory is missing. Creating them all manually works...until the
next IDE rebuild.
The workaround is striaghforward but clunky, immediately after
checking out you stick any file in each of the child folders
"prop-base, props, text-base, tmp, wcprops" and the child folders of
tmp. Needless to say this bug is still in JB2005 :-(
Would a basic fix be possible in tsvn? The code must be attempting to
open a named dir under .svn and failing, couldn't it create the empty
one and retry the operation if this happens? That fix is a nobrainer
for the user.
The other way would be for cleanup to do a basic integrity check on
the .svn folders and create the empty ones if not found, but this
needs user input.
I'm trying to think of what else could corrupt the .svn folders in
this way - don't some backup schemes ignore empty folders?
Anyway, with the turnaround for bugs seen in tsvn and the same for
JBuilder I think its also obvious which is likely to happen first -
tsvn fixing a borland bug or borland fixing their own ;-)
Cheers
- ec
* - anyone know different?
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat Oct 9 14:03:35 2004