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