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

[BUG ?] copy doesn't check if the target already exists in the repository

From: makl <makl_at_tigris.org>
Date: 2004-03-13 15:00:52 CET

svn --version
svn, version 1.0.0
    compiled Feb 25 2004, 18:32:49
[...]

$ svnadmin create --bdb-txn-nosync repo
$ svn co file://`pwd`/repo wc1
$ svn mkdir -m "r1" file://`pwd`/repo/dir1
$ svn mkdir -m "r2" file://`pwd`/repo/dir2
$ svn cp file://`pwd`/repo/dir1 wc1/dir2

$ svn ci -m "r3" wc1
svn: Commit failed (details follow):
svn: Out of date: 'dir2' in transaction '4'
Adding wc1\dir2

$ svn up wc1
svn: Failed to add directory 'wc1/dir2': object of the same name already
exists
A wc1\dir1

Error or intentional behavior?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 13 14:59:23 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.