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

Re: [TSVN] case-sensitive filename conflict on commit. How to test this?

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-11-02 13:38:54 CET

Jody Shumaker wrote:
> I recently had a developer come across sugh a problem with a file being
> renamed on him by some tool. However, they found one case where it
> still is possible to add a file with just changed case using TSVN. If
> you do a commit based on the folder, it renames the file back fine. If
> instead you right click the changed case file, it instead acts like it
> is an unversioned file and present the add option. If you choose this
> add option, then a commit on that file or the folder presents it as an
> add of the file, and no longer changes the case back. This seems to only
> be a problem with files, not directories. Renaming directories has no
> effect on the menu's listed or any of the operations.
>
> Is it possible that the case-renaming done on a commit could also be
> done when right clicking files that appear unversioned?

Of course, it would be possible. But it's not wanted. See below.

> I've already told the developer to just do commits on a directory, not
> specific files. However, it'd be nice if this behavior was consistent.
> If instead, this is left like this intentially to allow adding such
> files I'd like to know.

It's that way for two reasons:
- as you mentioned, to allow adding such files. It's also useful if you
want to rename a file just with case.
- To do the auto-case-adjusting, we'd have to fetch the status of the
whole folder, not just the selected files. That can take a lot more time
with big working copies, so people with such wc's prefer to commit
individual files. If we do the auto-adjusting, then that advantage is gone.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Nov 2 13:39:33 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.