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

Re: [TSVN] RE: File rename problem

From: SteveKing <steveking_at_gmx.ch>
Date: 2004-07-17 09:22:40 CEST

Tymciurak Yarko-CYT007 wrote:
> A little more info on what might be going on.
>
> If I repeat Ben's experiment using TortoiseSVN as follows:
>
> ------------ notes -------------
>
> RC == right click
> RC / tsvn == TortoiseSVN menu selection
>
>>> == response
>
> Things that look like shell commands are just appropriate UI/mouse actions to achieve that effect...
>
> /--------------< DID THIS: >-------------
>
> RC / NEW FOLDER / repos
> RC / tsvn / Create Repos Here
> RC / NEW FOLDER / test
> RC / tsvn / import (select appropriate url)
>
>>>Completed At revision: 1
>
> RC / tsvn / checkout
>
>>>Completed At revision: 1
>
> Chdir test
> RC / NEW Text Document / test-1.txt (insert text "first" in it)
> RC / tsvn / add
>
>>>(confirmation msg of path)
>
> RC / tsvn / commit
>
>>>Completed At revision: 2
>
> RC / tsvn / rename / test-2.txt (add text "second" in it)
> RC / tsvn / commit
>
>>>Add .....test/test-2.txt
>>>Sending Content ....test/text-2.txt
>>>Completed At revision: 3
>
> \----------------
>
> AND THAT IS THE KEY: THERE IS NO DELETE ACTION. So (continuing) when you:

So you selected the file test/test-2.txt for commit instead of the
parent folder? Then _sure_ the delete action isn't happening because you
_only_ committed the added file. If you selected the parent folder for
commit, you would have seen the "old" file in the filelist of the commit
dialog for commit too, and it would have been committed too.

[snip]
> [sussman@kepler:~/scratch/wc]$ svn ci -m "rename and edit file"
> Adding newfile
> Deleting oldfile
> Transmitting file data .
> Committed revision 2.

See? Sussman committed from the parent folder. If he would have used:
svn ci newfile -m "rename and edit file"
then the same would have happened!

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat Jul 17 10:31:26 2004

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

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