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

"svn mv" on non-empty directory --> "WC not locked" or "txn out of date"

From: Gareth McCaughan <gareth.mccaughan_at_pobox.com>
Date: 2003-10-31 13:10:45 CET

[I don't intend the subject to imply that this happens *every* time
you do "svn mv" on a non-empty directory, though I haven't checked
that it doesn't.]

If I do the following ...

svnadmin create Repo
svn co file://localhost`pwd`/Repo wc
cd wc
svn mkdir dir
svn commit -m 'made dir'
touch dir/file
svn add dir/file
svn commit -m 'made dir/file'
svn mv dir dir2
svn commit -m 'moved dir to dir2'

... then the last operation fails with this output:

Deleting dir
svn: Transaction is out of date
svn: Commit failed (details follow):
svn: out of date: 'dir' in transaction '3'

Is this really reasonable?

-- 
Gareth McCaughan
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 31 13:11:53 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.