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

Re: Can not rename a dir

From: Dave Lawrence <dlawrence_at_ad-holdings.co.uk>
Date: Thu, 25 Sep 2008 12:02:21 +0100

Ulrich Eckhardt wrote:
> On Thursday 25 September 2008, David wrote:
>> When I rename dir MyTest to mytest , it does not work and show the
>> following message:
>>
>> Trying to use an unsupported feature.
>>
>> So , it seems to be that TortoiseSVN does not support to rename a dir
>> with same name but not the same lowercase or capitalization.
>
More specifically, Subversion doesn't support this on Windows. If you
schedule a rename in your working copy, it schedules a copy (to the new
name) and a delete (of the old name). At that point both paths must
exist, which isn't possible in windows in this case.

> Hmmm, last time I tried something like that with a file, it gave me a hint how
> to work around it. In any case, the way around it for a file is to use the
> repository browser and do a remote rename.
You *might* then have a problem when updating - if so the work around is
to delete the file locally (normal delete, not svn delete) before the
update. You can do that with your directory aswell, just make sure
there's no local mods because you'll loose them.

 Otherwise, you can also make a
> dummy rename, i.e. mytest -> my_test -> MyTest, so that with every step there
> is a difference other than just capitalisation.

That would work as long as you commit each of the renames individually.
  Even then, other users still might have a problem updating as I
described above. btw don't forget to commit the directory above, to
ensure the "delete" part of the rename gets committed as well.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-09-25 13:02:43 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.