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

Re: Bug report: Renaming folder in windows causes folder to be deleted

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-11-27 08:34:24 CET

Yaniv Pe'er wrote:
> Hello,
>
> When I rename a folder that is synced with SVN to the same name with
> different uppercase/lowercase (for example: FooBar to foorbar)
> TortoiseSVN thinks it is marked for deletion (little red X icon). If I
> accidentally commit the folder it gets deleted.

TSVN doesn't think it's marked for deletion, TSVN thinks (better: knows)
that the original folder is *missing*.

> I would expect TortoiseSVN to recognize that the folder is of the same
> name or rename it on the server instead of deleting it (or at least give
> out some kind of warning/error).

How should TSVN recognize this? You obviously have renamed a folder
without telling Subversion about this. Subversion is case sensitive -
renaming files/folders just in case might not be a big deal for you and
windows, but it is a real rename for Subversion.

Since Subversion is case sensitive, there's nothing we can do about
this. And for the future: make sure you *never*, *ever* rename versioned
items without the proper TSVN/Subversion command. Or you'll get into big
troubles later. Especially if you just rename them in case (try it out:
rename a file in case, commit - then wait for all your users to update).

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Mon Nov 27 08:34:34 2006

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