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

Re: [TSVN] Rename or delete causes chaos

From: Brass Tilde <brasstilde_at_insightbb.com>
Date: 2005-05-11 21:24:21 CEST

> When I delete or rename a sub-directory in my local Subversioned
> project directory, (without using the TortoiseSVN commands for this)
> TortoiseSVN gets totally confused. The result is Confusion and Chaos.
>
> And no matter what I do, TortoiseSVN can't figure out that a new directory
> should be included. I have tried cleanup, add, and about everything else.

That's not a Tortoise issue, it's a Subversion one. Subversion doesn't know
what happened to files that were deleted or renamed using shell commands.

> Is this normal? A bug? A feature? Shouldn't TortoiseSVN be able to
> figure out for itself what has changed in my subversioned directory tree
> and simply commit those changes when I ask it?

Offhand, I'd say this was a feature. I know that *I* wouldn't want a
version control system making assumptions about files that were moved,
renamed or deleted outside the context of the VCS. How is Subversion
supposed to know whether those moves, et al, are legitimate or the result of
an error in some other part of the system?

> I can't see why TortoiseSVN needs special commands to rename
> and delete files and folders.

See above. Neither Tortoise nor Subversion can know whether those
commmands, performed outside of the VCS, were executed correctly or not, so
can't make any assumptions about them.

> Suppose an IDE (Integrated Development
> Environment) also has ideas about how to rename and delete stuff.
> That would cause a catch-22 situation.

Yes, it would. However, a proper delete isn't the only way a file can be
deleted. How is the VCS supposed to know the difference between a proper
one and an improper one? By using the appropriate VCS commands to
explicitly tell the VCS how to handle the file, that's how.

> Am I doing something wrong, or are these known limitations?
> If so, what should I do to get around the problem?

Us the VCS to perform VCS commands, not a command shell or IDE.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed May 11 23:40:08 2005

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.