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

[TSVN] Two files differing only in case prevent update

From: Dr. Rainer Hessmer <rainerh_at_dataworkssystems.com>
Date: 2004-07-14 00:26:11 CEST

Hi,

I am the evangelist for Subversion and TortoiseSVN in our company. We
successfully use both since about half a year. There is one thing that
causes a bit a frustration amongst our developers:

Every so often somebody gets to the point where the same file exists
twice in a given directory in the repository only differing in case
(e.g., Web.config and web.config). Once you get to this point an attempt
to update your working copy will result in this error message: "Failed
to add file 'c:\bla\bla\web.config': object of the same name already
exists."

I know how to get out of the problem by deleting one of the two files
via a server-side delete. I also understand that Subversion has to
handle file and directory names as case sensitive in order to be useful
for Linux and other case sensitive platforms.

However, I think TortoiseSVN could handle this error situation more
gracefully. A few options that I can think of are:
- Instead of the error message allow the user to specify which of the
two files s/he wants to use (it would also be nice to ask the user
whether the other file should be deleted)
- Prevent the user from adding a file that only differs in case from a
file that already exists in the same directory in the repository. Since
TortoiseSVN is a pure Windows client it could perform this check (the
same check would not make sense for the platform neutral Subversion
system).

Thanks for the great work. I am blown away by both Subversion and
TortoiseSVN!

Rainer Hessmer

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Jul 14 08:22:35 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.