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

Re: Rename in Subversion

From: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-12-20 14:17:31 CET

On Dec 20, 2007, at 06:52, John Peacock wrote:

> Srilakshmanan, Lakshman wrote:
>
>> The issue is that when you rename a file and commit the renamed
>> file, the ***
>> original file *** delete operation is not performed and therefore
>> that file
>> is still available and appears to be under a ** different **
>> object ID. How
>> do I know ? a log of the original file does not traverse the tree.
>
> Here's where you lost me. If you are using TortoiseSVN, you right
> click on the
> file and _from the TortoiseSVN submenu_ choose Rename (or Move, I
> don't have it
> in front of me). You do NOT use the normal Windows "Rename" command.
>
> I'm pretty confident this is driver error, but because of the
> vagueness of your
> description, I can't figure out what you actually did. I recommend
> creating a
> test repository and test files and try it out again and make
> careful note of
> which steps you are taking. Then, if it doesn't work the way I
> described, you
> should take this up with the TSVN list, because this does work in
> Subversion.

I believe he did

        svn mv old new

followed by

        svn ci new

which committed the addition of new but not the deletion of old. I
believe he could have done

        svn ci new old

or if not, then

        svn ci .

I have no information on this "object ID" notion however.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 20 14:30:22 2007

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

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