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

Re: Problem with changed names...

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-10-24 19:38:38 CEST

Tomasz Paj±k wrote:
> Hello everybody, I'd like to ask you for help. I don't know if this is a
> bug, maybe I'm doing something wrong.
> One of my collegues made a change to his folders structure - he renamed
> few folders. When he commited changes to repository, Tortoise had
> deleted folders with old names on repository (!!!) and didn't load
> folders with new names! What is worse, Tortoise is showing that in his
> working copy everything is OK - so, he completely ignores new folders
> showing the green tick on them.

This happens when you rename folders directly in explorer. But TSVN
doesn't just delete the folders with the old names. In the commit
dialog, those folders are marked red with status 'missing'. If you
select those for the commit, *then* (and only then) will TSVN remove
those folders from version control. If you at the same time don't check
the unversioned 'new' folders (the ones which you renamed with the new
name), then TSVN won't add those folders to version control.

> For example, I've 2 folders:
> -- folder1
> -- folder2
>
> When I change names:
> -- folder1a
> -- folder2a

You must not change names. You must use a Subversion client to do the
rename. Right-click on the folder, then choose "Rename..." from the TSVN
context menu. If you do that, then everything will be fine.

> I'm using Tortoise 1.4.0 Build 7501. On the repository I've SVN 1.4
> As far as I remember, with Tortoise 1.3 there weren't such problems...

It worked the very same way. You just haven't had those problems because
you either haven't renamed a folder back then, or used the proper TSVN
command to do it.

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 Tue Oct 24 19:38:47 2006

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.