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

snv move/commit failed to move a directory

From: Nathan Bates <nathanbates99_at_yahoo.com>
Date: 2007-08-31 16:30:00 CEST

I started from an up-to-date working tree,
then intended to move a subdir upwards.
Straightforward really.

cd a_dir/b_dir
svn move dir ../../dir

The destination dir did NOT exist previously.
svn move didn't complain.

But then svn commit failed (malfunctioned):

Transmitting file data ..svn: Commit failed (details
follow):
svn: Out of date: '[..destDir..]' in transaction
'1186-1'
svn: Your commit message was left in a temporary file:

Despite the error, everything was up-to-date.
Something bad was done by "svn move" apparently.

And, I noticed in the log, the list of deleted
and added files just looked wrong. Most files
were omitted, only a subset were listed.

I expected everything in the old dir listed with 'D',
and everything in the new dir listed with 'A'.
But the list was unbalanced and too short.

.......
--This line, and those below, will be ignored--
<files>
.......

Fortunately, just the commit transaction failed
(no repository corruption).

I had to do "svn move" on individually.

I'm using svn 1.4.3 on Ubuntu Linux,
and for several months, never any problems before
(this was the first time I tried moving a whole dir).

       
____________________________________________________________________________________
Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
http://smallbusiness.yahoo.com/webhosting

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 31 16:27:25 2007

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.