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

Re: bug: case-sensitivity for directories

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: 2007-05-18 10:31:26 CEST

On 18/05/07, Peter McNab <mcnab_p@melbpc.org.au> wrote:
> Mikkel Gjřl wrote:
> > I used to have a dir named "managers". Today I renamed it to
> > "Managers". When committing, hours later, tortoise asked if the dir
> > "managers" was missing - and having renamed it, I checked the
> > missing-checkbox. Poof, the contents of the "Managers"-dir was gone...
> > the dir remained though.
> >
> > I assume it to be due to tortoise-svn being case-sensitive, as opposed
> > to windows filehandling. No, the recycle-bin was not enabled :´(
> >
> TortoiseSVN does it's best to protect you from yourself but SVN can't
> because names are case sensitive in the repository.

Stefan, Tobias,

I know the underlying problem here is Subversion, but there is a
certain amount of protection built into TSVN for files which are
case-changed which does not seem to extend to directories, with the
catastrophic results above.

I just did the same on a test repo. SVN->Add some content to a folder,
modify some versioned content, Explorer-rename the folder. In the
commit dialog the directory comes up as missing, and if you check the
box and commit, everything is deleted including the new and modified
content.

I think if you rename a file in case, TortoiseSVN just quietly changes
it back again when you come to commit, which is a much friendlier
action.

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri May 18 10:31:35 2007

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