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

[TSVN] RE: File rename problem

From: Tymciurak Yarko-CYT007 <yarko.tymciurak_at_motorola.com>
Date: 2004-07-17 03:07:22 CEST

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:

/-------------------
RC / tsvn / Update to revision / revision 2
>> Delete .....test/text-2.txt
>> Update .....test
>> Completed At revision: 2
\-------------------------

THERE IS NO CORRESPONDING ADD for the old filename (and if I go to the command line svn tool and try to back rev, it too at this point gives the same results).

SO I BELIEVE THIS IS A BUG.

What do you think?
Regards,

Yarko.
yarko@thynken.net

-----Original Message-----
From: Ben Collins-Sussman [mailto:sussman@collab.net]
Sent: Friday, July 16, 2004 5:21 PM
To: Tymciurak Yarko-CYT007
Cc: dev@subversion.tigris.org
Subject: Re: File rename problem

On Fri, 2004-07-16 at 16:27, Tymciurak Yarko-CYT007 wrote:
> Windows XP Pro; Subversion 1.0.5; Tortoise SVN 1.0.6 (although it
> reports Subversion 1.0.4 ???)

Your recipe isn't reproducible with a commandline client:

[sussman_at_kepler:~/scratch]$ svnadmin create repos [sussman_at_kepler:~/scratch]$ svn co file://`pwd`/repos wc Checked out revision 0. [sussman_at_kepler:~/scratch]$ cd wc [sussman_at_kepler:~/scratch/wc]$ touch oldfile [sussman_at_kepler:~/scratch/wc]$ svn add oldfile
A oldfile
[sussman@kepler:~/scratch/wc]$ svn ci -m "adding file"
Adding oldfile
Transmitting file data .
Committed revision 1.
[sussman@kepler:~/scratch/wc]$ svn mv oldfile newfile
A newfile
D oldfile
[sussman@kepler:~/scratch/wc]$ echo "text" >> newfile [sussman@kepler:~/scratch/wc]$ svn st
A + newfile
D oldfile
[sussman@kepler:~/scratch/wc]$ svn ci -m "rename and edit file"
Adding newfile
Deleting oldfile
Transmitting file data .
Committed revision 2.
[sussman@kepler:~/scratch/wc]$ svn st -v
                0 0 ? .
                2 2 sussman newfile
[sussman@kepler:~/scratch/wc]$ svn up -r1
D newfile
A oldfile
Updated to revision 1.
[sussman@kepler:~/scratch/wc]$ svn st -v
                1 1 sussman .
                1 1 sussman oldfile
[sussman@kepler:~/scratch/wc]$ svn up
A newfile
D oldfile
Updated to revision 2.
[sussman@kepler:~/scratch/wc]$ svn st -v
                2 2 sussman .
                2 2 sussman newfile

---------------------------------------------------------------------
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:01:29 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.