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

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

From: Ingo Adler <ingo.adler_at_synacon.ch>
Date: 2005-01-23 22:15:52 CET

Ben Collins-Sussman wrote:

> This makes no sense to me. And when I try to reproduce this (by
> walking through your whole recipe), I can't. That's pretty strange.
> Can you re-run this whole prodecure, showing us the output of 'svn st
> -v' at every step?

Hi Ben,

tank you for your fast response. I repeated the procedure. The first
"transaction out of date" is ok for me - there is an explanation and a
solution for it. But the second is not ok.

I created the repository with 1.0.0. I recreated the repository and
imported the dump with 1.1.3 in the mean time.
----------------------
C:\temp\projects\testproject>svn st -v
              62 62 ? .
              62 62 ? testfolderx1
              62 62 ? testfolderx1\testfilex1.txt

C:\temp\projects\testproject>cd testfolderx1

C:\temp\projects\testproject\testfolderx1>svn move testfilex1.txt
testfilex2.txt

A testfilex2.txt
D testfilex1.txt

C:\temp\projects\testproject\testfolderx1>svn st -v
              62 62 ? .
D 62 62 ? testfilex1.txt
A + - ? ? testfilex2.txt

C:\temp\projects\testproject\testfolderx1>svn commit -m "moved file"
Deleting testfolderx1\testfilex1.txt
Adding testfolderx1\testfilex2.txt

Committed revision 63.

C:\temp\projects\testproject\testfolderx1>svn st -v
              62 62 ? .
              63 63 ? testfilex2.txt

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

C:\temp\projects\testproject>svn move testfolderx1 testfolderx2
A testfolderx2
D testfolderx1\testfilex2.txt
D testfolderx1

C:\temp\projects\testproject>svn st -v
              62 62 ? .
D 62 62 ? testfolderx1
D 63 63 ? testfolderx1\testfilex2.txt
A + - 62 ? testfolderx2
  + - 63 ? testfolderx2\testfilex2.txt

C:\temp\projects\testproject>svn commit -m "moved folder"
Deleting testfolderx1
Adding testfolderx2
Adding testfolderx2\testfilex2.txt
svn: Commit failed (details follow):
svn: Out of date: '/trunc/testproject/testfolderx1' in transaction '3d'

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

C:\temp\projects\testproject>svn st -v
              63 63 ? .
D 63 63 ? testfolderx1
D 63 63 ? testfolderx1\testfilex2.txt
A + - 62 ? testfolderx2
  + - 63 ? testfolderx2\testfilex2.txt

C:\temp\projects\testproject>svn commit -m "moved folder"
Deleting testfolderx1
Adding testfolderx2
Adding testfolderx2\testfilex2.txt

Committed revision 64.

C:\temp\projects\testproject>svn st -v
              63 63 ? .
              64 64 ? testfolderx2
              64 64 ? testfolderx2\testfilex2.txt

C:\temp\projects\testproject>svn move testfolderx2 testfolderx1
A testfolderx1
D testfolderx2\testfilex2.txt
D testfolderx2

C:\temp\projects\testproject>svn st -v
              63 63 ? .
A + - 64 ? testfolderx1
  + - 64 ? testfolderx1\testfilex2.txt
D 64 64 ? testfolderx2
D 64 64 ? testfolderx2\testfilex2.txt

C:\temp\projects\testproject>svn commit -m "moved folder back"
Adding testfolderx1
Deleting testfolderx2

Committed revision 65.

C:\temp\projects\testproject>cd testfolderx1

C:\temp\projects\testproject\testfolderx1>svn move testfilex2.txt
testfilex1.txt

A testfilex1.txt
D testfilex2.txt

C:\temp\projects\testproject\testfolderx1>svn st -v
              65 65 ? .
A + - ? ? testfilex1.txt
D 65 65 ? testfilex2.txt

C:\temp\projects\testproject\testfolderx1>svn commit -m "moved file back"
Adding testfolderx1\testfilex1.txt
Deleting testfolderx1\testfilex2.txt
svn: Commit failed (details follow):
svn: Out of date: '/trunc/testproject/testfolderx1/testfilex1.txt' in
transaction '3g'

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

C:\temp\projects\testproject\testfolderx1>svn st -v
              65 65 ? .
A + - ? ? testfilex1.txt
D 65 65 ? testfilex2.txt

C:\temp\projects\testproject\testfolderx1>svn commit -m "moved file back"
Adding testfolderx1\testfilex1.txt
Deleting testfolderx1\testfilex2.txt
svn: Commit failed (details follow):
svn: Out of date: '/trunc/testproject/testfolderx1/testfilex1.txt' in
transaction '3h'

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

Thanks,
Ingo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 24 00:24:47 2005

This is an archived mail posted to the Subversion Users mailing list.