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

Confusing a local wc

From: Hakan Koseoglu <hakan.koseoglu_at_gmail.com>
Date: 2004-12-08 16:14:12 CET

Hi all,

I haven't had so much fun since I watched Confusing a Cat sketch by
Monty Python...

hakank@p038:~> mkdir test
hakank@p038:~> cd test
hakank@p038:~/test> svnadmin create testrepo
hakank_at_p038:~/test> svn co file:///home/hakank/testrepo
hakank@p038:~/test> mkdir test
hakank@p038:~/test> cd test
hakank_at_p038:~/test/test> svn co file:///home/hakank/test/testrepo .
Checked out revision 0.
hakank@p038:~/test/test> mkdir a1
hakank@p038:~/test/test> mkdir a2
hakank@p038:~/test/test> svn add a1
A a1
hakank@p038:~/test/test> svn commit -m "dir a1 added"
Adding a1
Committed revision 1.
hakank@p038:~/test/test> svn add a2
A a2
hakank@p038:~/test/test> svn commit -m "dir a2 added"
Adding a2
Committed revision 2.

hakank@p038:~/test/test> ls -la
total 20
drwxr-xr-x 5 hakank users 4096 2004-12-08 14:59 .
drwxr-xr-x 4 hakank users 4096 2004-12-08 14:59 ..
drwxr-xr-x 3 hakank users 4096 2004-12-08 14:59 a1
drwxr-xr-x 3 hakank users 4096 2004-12-08 14:59 a2
drwxr-xr-x 7 hakank users 4096 2004-12-08 15:00 .svn
hakank@p038:~/test/test> svn move a2 a1
A a1/a2
D a2
hakank@p038:~/test/test> svn commit -m "moving a2 into a1"
Adding a1/a2
Deleting a2
Committed revision 3.
hakank@p038:~/test/test> svn status
hakank@p038:~/test/test> svn del a1 a2
D a1/a2
D a1
hakank@p038:~/test/test> svn commit -m "bzzt"
Deleting a1
svn: Commit failed (details follow):
svn: Out of date: 'a1' in transaction '4'

I did commit everything I had on the working copy before deciding to
delete it. Why did deleting a1 fail? What is it trying to do with my
delete "a2" request?
Continuing with the saga:

hakank@p038:~/test/test> svn revert a1
Reverted 'a1'
hakank@p038:~/test/test> svn status
D a1/a2
hakank@p038:~/test/test> svn commit -m "bzzt??"
Deleting a1/a2

Committed revision 4.
hakank@p038:~/test/test> ls
a1
hakank@p038:~/test/test> svn del a1
D a1
hakank@p038:~/test/test> svn commit -m "finally..."
Deleting a1
svn: Commit failed (details follow):
svn: Out of date: 'a1' in transaction '8'

OK, annoyed, here I go:
akank@p038:~/test/test> rm -rf a1
hakank@p038:~/test/test> svn commit -m "finally...???"
Deleting a1

Committed revision 5.

Isn't this a little bit strange?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 8 16:18:15 2004

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.