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

Re: Case sensitvity and Windows

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 24 Nov 2008 18:04:36 +0100

Jens Geyer wrote:
> Hi all,
> We just ran into a situation where TSVN showed one file in the “commit”
> dialog as being new, although the file was already in the repo for a
> long time. Not only that, the developer was able to check in that new
> file successfully (which in turn let the SVN client on the build server
> went crazy).
> The problem was caused by a slightly different spelling: Instead of
> const_Something.pas the file name was in his working copy
> Const_Something.pas, with a large “C”. Sometimes Delphi renames files
> caused by other things, but normally that is not a problem. Not so in
> this case.
> To reproduce, take the following steps:
> - Choose a file in your working copy
> - Rename it to different spelling (using any suitable tool,
> except TSVN)
> - The file is now shown with a question mark
> - Right-click the file and choose “Add”
> - The file is shown in the ”Add” dialog and can be added
> without problems
> - The added file can be commited to the repo without problems
> Note that this does not happen, when one chooses to use the “Commit”
> dialog of the folder which contains the file. In that case, the spelling
> is changed back behind the scenes and the file name is as before,
> therefore no changes can be commited, and no new files are there to be
> added.

This is by design. Only the commit dialog corrects case-renames
But the add dialog must never do that. Otherwise you couldn't fix some
renaming in case that already happened, or it wouldn't be possible to
replace files in certain situations.

But I guess a warning should be shown in such a case...


  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net

Received on 2008-11-24 18:05:01 CET

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