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

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

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2004-03-13 15:20:34 CET

makl <makl@tigris.org> writes:

> $ 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
>
> Error or intentional behavior?

If you are asking whether the copy should fail then no, it should not.
The repository could well change between the copy and the commit, the
directory in the repository might get deleted.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 13 15:20:52 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.