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

Re: Filename case issue

From: Andy Levy <andy.levy_at_gmail.com>
Date: Tue, 19 Jan 2010 11:08:01 -0500

On Tue, Jan 19, 2010 at 10:59, Ross Weaver <rweaver_at_ifntech.com> wrote:
> Running TortoiseSVN 1.6.6 for windows
>
> The issue: 2 people committed a file with the same name but different
> letter case.
> Example:  "the_file1.aspx" and "The_File1.aspx"
>     (An svn update was NOT performed between the commits)
>
> TortoiseSVN allowed the commit to happen, but later when the first
> person did an update, TortoiseSVN got confused and though
> "the_file1.aspx" was out of date.  Seems like to showed the code for
> "The_File1.aspx" but it labeled it with the name of "the_file1.aspx"
>
> Expected Result:  When the second person tried to commit
> "The_File1.aspx", TortoiseSVN should have caught that their svn was out
> of date.  That a file with the same name already existed and forced them
> to update before committing.

TortoiseSVN can't do this because Subversion doesn't do this.
Subversion, like every platform it runs on except Windows, is
case-sensitive (Windows is merely case-preserving), so it sees your 2
filenames as distinct and unique.

Rename one of the files to eliminate the collision. You will need to
install a pre-commit hook script to check for case collisions in the
future. See http://svn.collab.net/repos/svn/trunk/contrib/hook-scripts/case-insensitive.py

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2440299

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-01-19 17:08:12 CET

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

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