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

Re: Transaction is out of date. svn 0.32.1

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2003-11-21 20:09:58 CET

On Fri, 2003-11-21 at 04:07, Kerim Borchaev wrote:

> ---------------------------
> call svnadmin create %1
> call svn checkout %2 %3
> cd %3
> mkdir folder
> copy nul folder\file.txt
> call svn add folder
> call svn commit --message ""
> svn rename folder folder0
> svn commit --message ""
> cd folder0
> mkdir subfolder
> copy nul subfolder\file0.txt
> call svn add subfolder
> call svn commit --message ""
> cd ..
> call svn rename folder0 folder1
> svn commit --message ""

The 'out of date' behavior is not a bug, it's expected.

Your last command 'svn rename folder 0 folder1' is actually two
operations: the addition of folder1 (with copy history), and the
deletion of folder0. But you cannot delete folder0, because folder0's
working revision is not HEAD. Read this section in the book, about the
limitations of mixed-revision working copies (in a universe of versioned
directories)

http://svnbook.red-bean.com/html-chunk/ch02s03.html#svn-ch-2-sect-3.4

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Nov 21 20:10:52 2003

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

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