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

[TSVN] "missing" directories are deleted during commit

From: J. Richard Mills <rmills_at_cigital.com>
Date: 2004-12-20 18:48:42 CET

Is "svn remove" the normal resolution for files/directories that are
"missing" from a local sandbox?

One of my Tortoise users ran into a situation recently that was not as I
expected. He was having a problem with some non-compiling source in a
directory, so he just nuked the directory from his local sandbox with
windows browser ("del" key). I usually refer to this as "pruning the
cruft" -- getting rid of local directories that have stuff you don't
care about right now. I've used it as a local space optimization
technique in CVS for years. SVN reports this as "missing" during normal
status checks. However, when he committed his files later, Tortoise
executed a "delete" command to the repository, thereby removing the
directory for everyone else. NOT what we had in mind.

When done from the command line, the commit operation generates an error
if there are "missing" directories. The error is useless
("blah/blah.java" not locked), but at least it doesn't remove the files
from the server.

Thanks for any info.

Rich

PS I'm using the latest TortoiseSVN (1.1.1 build 1857) against a 1.1
server.

----------------------------------------------------------------------------
This electronic message transmission contains information that may be
confidential or privileged. The information contained herein is intended
solely for the recipient and use by any other party is not authorized. If
you are not the intended recipient (or otherwise authorized to receive this
message by the intended recipient), any disclosure, copying, distribution or
use of the contents of the information is prohibited. If you have received
this electronic message transmission in error, please contact the sender by
reply email and delete all copies of this message. Cigital, Inc. accepts no
responsibility for any loss or damage resulting directly or indirectly from
the use of this email or its contents.
Thank You.
----------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Dec 20 18:49:24 2004

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.