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

Re: File rename problem

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-07-17 00:20:55 CEST

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@kepler:~/scratch]$ svnadmin create repos
[sussman_at_kepler:~/scratch]$ svn co file://`pwd`/repos wc
Checked out revision 0.
[sussman@kepler:~/scratch]$ cd wc
[sussman@kepler:~/scratch/wc]$ touch oldfile
[sussman@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@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 17 00:22:14 2004

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

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