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

svn copy/remove issue

From: Yanghui Bian <ybi_at_vitesse.com>
Date: 2003-09-10 21:19:28 CEST

Hello,

I am running Subersion 0.29.0 (r6976) on windows XP with cygwin. Also I
did the svn dump.

svn rename failed due to out of date error when deleting the directory.

svn copy turned out a very weird result: The removed file re-appared.

 

All the other commands work ok.

The following lines ($ prefixed) could be used as a script to reproduce
the problem.

$ svn co http://p1033295/repos/svndata/repos_tmp/trunk/projects/

$ cd projects/

$ mkdir test1

$ cd test1/

$ touch t1.txt

$ touch t2.txt

$ cd ..

$ svn add test1

$ svn commit

$ cd test1/

$ svn rm t2.txt

$ svn commit

$ cd ..

# For I failed to use svn rename, so I try to work around it.

# copy the working directory first then remove the original one.

$ svn status

$ svn cp test1 test2

$ svn commit

$ svn rm test1

$ svn commit

Log message unchanged or not specified

a)bort, c)ontinue, e)dit

c

Deleting test1

svn: Item is out-of-date.

svn: Commit failed (details follow):

svn:

Item '/trunk/projects/test1' is out of date.

$ cd ..

$ mv projects/ ppp

$ svn co http://p1033295/repos/svndata/repos_tmp/trunk/projects/

A projects\test1

A projects\test1\t1.txt

A projects\test2

A projects\test2\t1.txt

A projects\test2\t2.txt

Checked out revision 18.

 

Has it been reported? Any hints? Thanks.

Yanghui Bian
Received on Wed Sep 10 21:20:29 2003

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.