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

Problem with renaming (possible bug?) - "Transaction out of date"

From: Ingo Adler <dev_at_synacon.ch>
Date: 2005-01-23 15:29:07 CET

Hi,

I have a very simple file structure:

folder testproject
    + subfolder testfolder1
        + file testfile1

And I have a big problem while renaming (I'm the only one accessing the
repository, I use svn 1.1.3 on client and server):

------------------
 C:\temp\projects\testproject\testfolder1>svn move testfile1.txt
testfile2.txt
A testfile2.txt
D testfile1.txt

C:\temp\projects\testproject\testfolder1>svn commit -m "moved file"
Deleting testfolder1\testfile1.txt
Adding testfolder1\testfile2.txt

Committed revision 58.

C:\temp\projects\testproject\testfolder1>cd ..

C:\temp\projects\testproject>svn move testfolder1 testfolder2
A testfolder2
D testfolder1\testfile2.txt
D testfolder1

C:\temp\projects\testproject>svn commit -m "moved directory"
Deleting testfolder1
Adding testfolder2
Adding testfolder2\testfile2.txt
svn: Commit failed (details follow):
svn: Out of date: '/trunc/testproject/testfolder1' in transaction '35'

C:\temp\projects\testproject>svn update
At revision 58.

C:\temp\projects\testproject>svn commit -m "moved directory"
Deleting testfolder1
Adding testfolder2
Adding testfolder2\testfile2.txt

Committed revision 59.

C:\temp\projects\testproject>svn move testfolder2 testfolder1
A testfolder1
D testfolder2\testfile2.txt
D testfolder2

C:\temp\projects\testproject>svn commit -m "moved directory back"
Adding testfolder1
Deleting testfolder2

Committed revision 60.

C:\temp\projects\testproject>cd testfolder1

C:\temp\projects\testproject\testfolder1>dir
 Volume in Laufwerk C: hat keine Bezeichnung.
 Volumeseriennummer: 28BC-0E82

 Verzeichnis von C:\temp\projects\testproject\testfolder1

23.01.2005 15:10 <DIR> .
23.01.2005 15:10 <DIR> ..
23.01.2005 15:10 <DIR> .svn
23.01.2005 15:10 4 testfile2.txt
               1 Datei(en) 4 Bytes
               3 Verzeichnis(se), 6'842'249'216 Bytes frei

C:\temp\projects\testproject\testfolder1>svn move testfile2.txt
testfile1.txt
A testfile1.txt
D testfile2.txt

C:\temp\projects\testproject\testfolder1>svn commit -m "moved file back"
Adding testfolder1\testfile1.txt
Deleting testfolder1\testfile2.txt
svn: Commit failed (details follow):
svn: Out of date: '/trunc/testproject/testfolder1/testfile1.txt' in
transaction
'38'

C:\temp\projects\testproject\testfolder1>svn update
At revision 60.

C:\temp\projects\testproject\testfolder1>svn commit -m "moved file back"
Adding testfolder1\testfile1.txt
Deleting testfolder1\testfile2.txt
svn: Commit failed (details follow):
svn: Out of date: '/trunc/testproject/testfolder1/testfile1.txt' in
transaction
'39'

C:\temp\projects\testproject\testfolder1>
------------------

Question 1: Why do I get a "svn: Out of date:
'/trunc/testproject/testfolder1' in transaction '35'" when I commit the
directory?
This case doesn't always happen and I can get around it with "svn update".
Is there some other way than "svn update"?

Question 2: Why do I get a "svn: Out of date:
'/trunc/testproject/testfolder1/testfile1.txt' in transaction '39'"?
This case always happens when I rename a file, rename the directory,
rename the directory back and try to rename the file back.
I can't get around it, yet.

This is a simple test case. So don't think about usefulness of the
actions. The use case is more complicated.

It sounds like a bug to me.
Is there a solution?

Thanks,
Ingo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jan 23 15:31:37 2005

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.