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

RE: "svn move" broken?

From: Leeuw van der, Tim <tim.leeuwvander_at_nl.unisys.com>
Date: 2003-06-05 10:21:59 CEST

Hi,

It's probably not the 'svn move', but the 'svn delete' part of it. I also
noticed that when I do an update after a delete, only then some of the
deletes are actually fully recorded in the wc.

I always assumed it was part of design and learned to do an update after a
commit...

--Tim

-----Original Message-----
From: Michael Schmitt [mailto:schmitt@TI.Uni-Trier.DE]
Sent: donderdag 5 juni 2003 9:11
To: dev@subversion.tigris.org
Subject: "svn move" broken?

Dear SVN developers,

today I noticed a very strange behavior of svn.

In a project with several subdirectories, I moved some files from one
subdirectory to another (svn move subdir1/fileXXX subdir2/subsubdir2/.).
Whenever I moved two or three files, I committed the changes in both
subdirectories with "svn commit subdir1 subdir2". Everything seemed to
work well.

Then, I decided to remove the whole subdir from which I had moved away
the files (sub remove subdir1). Again I committed my changes (svn commit
subdir1). Unfortunately, I got the following error message:

  Deleting subdir1
  svn: Transaction is out of date
  svn: Commit failed (details follow):
  svn: out of date: `/project/subdir1' in txn `xp'
  svn: Your commit message was left in a temporary file:
  svn: '/home/TI3/schmitt/project/svn-commit.tmp'

First of all, this message is absolutely confusing. Please, please
change it to make it more suitable for dummy users like me!

After all while, I found out what this message means and I ran "svn
update subdir1". And here comes the surprise:

D subdir1/FileXXX1
D subdir1/FileXXX2
...

Although all previous commits were successful (at least I thought so),
svn did not update my working copy correctly! Or, more precisely, it did
not update the meta information in my working copy, since the real files
had definitely gone before! And there was no other user working in this
project at the same time.

Do you have any idea how this could happen?

System information: SVN 0.23, module ra_local, DB 4.1.25, SuSE 8.1, gcc
3.2.0.

Kind regards,

Michael

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 5 10:22:49 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.