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

Error bumping revisions post-commit on move / commit

From: Saloucious <saloucious_at_gmail.com>
Date: Mon, 4 May 2009 04:49:19 -0700 (PDT)

Hi,

I'm actually on a project where I need to create and move a lot of
directories and i've got an bumping error in logs.

I've tried to recreate the error with a little script (running on Ubunti
9.04 + Subversion v1.5.1)

This script fails
-----------------------------------
#Create a new project and import it
mkdir -p $newproject/dir1/dir2/dir3/dir4
touch $newproject/dir1/dir2/dir3/dir4/test.html
touch $newproject/dir1/dir2/dir3/test.html
svn import -m "init" $newproject/ svn://localhost/repo/$newproject

#Checkout the new project and move 2 directories
svn checkout svn://localhost/repo/$newproject $project
cd $project
mkdir -p src/main/java
svn add src/
svn move dir1/dir2/dir3 src/main/java/
svn move dir1/ src/main/
svn commit -m "ko" ./

Here is the commit log :
Deleting dir1
Adding src
Adding src/main
Adding src/main/dir1
Deleting src/main/dir1/dir2/dir3
Adding src/main/java
Adding src/main/java/dir3
svn: Commit succeeded, but other errors follow:
svn: Error bumping revisions post-commit (details follow):
svn: Directory
'/home/bguerout/projects/a_test_co/src/main/dir1/dir2/dir3/dir4' is missing
svn: Directory
'/home/bguerout/projects/a_test_co/src/main/dir1/dir2/dir3/dir4' is missing

And svn status log :
D dir1
D dir1/dir2
D dir1/dir2/dir3
D dir1/dir2/dir3/dir4
D dir1/dir2/dir3/dir4/test.html
D dir1/dir2/dir3/test.html
A src
A src/main
A + src/main/dir1
D + src/main/dir1/dir2/dir3
D + src/main/dir1/dir2/dir3/test.html
A src/main/java
A + src/main/java/dir3

The commit command has succeed but my working copy is locked and clean-up do
no work.

But if I change the third line 'touch $newproject/dir1/dir2/dir3/test.html'
to 'touch $newproject/dir1/dir2/test.html', everything is ok.

Any ideas

Thanks.

-- 
View this message in context: http://www.nabble.com/Error-bumping-revisions-post-commit-on-move---commit-tp23366701p23366701.html
Sent from the Subversion Users mailing list archive at Nabble.com.
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2055770
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-05-04 13:53:44 CEST

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.