You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Achim Domma, SyynX Solutions GmbH" <ac...@syynx.de> on 2006/05/03 15:32:50 UTC

The version resource does not correspond to the resource within the transaction.

Hi,

once in a while I get the following error when I try to commit changes:

Error: Commit failed (details follow):
Error: Your file or directory 'Web.config' is probably out-of-date
Error: The version resource does not correspond to the resource within 
the transaction.  Either the requested version resource is out of date 
(needs to be updated), or the requested version resource is newer than 
the transaction root (restart the commit).

The output is from Tortoise, but command line gets the same result. The 
error is simply wrong: I'm the only person working on this project. If I 
try to do an "update", I see that my version is already up-to-date. 
Clean up has no effect.

I asked about this problem already some time before on this list, but 
the only answers have been "clean up" and "update".

Could somebody give me a hint on how to track down the problem, so I 
could possibly fill a bug report? Are there some debugging flags in svn 
which I could enable to see what's going on?

Any hints are welcome!

regards,
Achim

-- 
Achim Domma
SyynX Solutions GmbH			

Im MediaPark 6b
50670 Köln

Tel: +49-221-5892021
Fax: +49-221-5892023
Mobil: +49-151-19564961

http://www.syynx.de
achim.domma@syynx.de
----------------------------------------------------
This e-mail is confidential and should not be used by anyone who is not 
the original intended recipient. If you have received this e-mail in 
error please inform the sender and delete it from your mailbox or any 
other storage mechanism. SyynX Solutions GmbH Germany cannot accept 
liability for any statements made which are clearly the sender's own and 
not expressly made on behalf of SyynX Solutions GmbH Germany.


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

Re: The version resource does not correspond to the resource within the transaction.

Posted by "Achim Domma, SyynX Solutions GmbH" <ac...@syynx.de>.
Ryan Schmidt wrote:

> When you run "svn update", are you then able to commit without this 
> error message?

No, currently even the following failed: I have made a copy of the bad 
file, made a revert on the original and then copied the changed version 
over the reverted.
Usually I have to check out a fresh version. Copy my old version over 
the new checkout and commit after that. Very anoying.

> mixed-revision state. This situation and some of its implications is 
> described in the book:
> 
> http://svnbook.red-bean.com/en/1.1/ch02s03.html#svn-ch-2-sect-3.4
[...]
> believe. This enhancement request may be relevant:
> 
> http://subversion.tigris.org/issues/show_bug.cgi?id=1539

Seems not to match my case. Here is a short session:

C:\...>svn commit -m="test"
Adding         InfobuttonXsltHelper.cs
Sending        SyynX.WebService.Tests\Tests.cs
svn: Commit failed (details follow):
svn: Your file or directory 'SyynX.WebService.Tests/Tests.cs' is 
probably out-of-date
svn:
The version resource does not correspond to the resource within the 
transaction.
   Either the requested version resource is out of date (needs to be 
updated), or
  the requested version resource is newer than the transaction root 
(restart the
commit).

C:\...>svn update

Fetching external item into 'SyynX.Collexis'
External at revision 2156.

At revision 2156.

C:\...>svn status SyynX.WebService.Tests\Tests.cs
M      SyynX.WebService.Tests\Tests.cs

C:\...>svn status -uv SyynX.WebService.Tests\Tests.cs
M            2156     2088 domma        SyynX.WebService.Tests\Tests.cs
Status against revision:   2156

C:\...>svn commit -m="test"
... still the same error ...

BTW: I'm using Tortoise 1.3.3.6219 which is build against Subversion 
1.3.1. svn.exe seems not to display a version info!? And the server is 
running Subversion 1.3.0 over Apache using WebDAV.

Achim

-- 
Achim Domma
SyynX Solutions GmbH			

Im MediaPark 6b
50670 Köln

Tel: +49-221-5892021
Fax: +49-221-5892023
Mobil: +49-151-19564961

http://www.syynx.de
achim.domma@syynx.de
----------------------------------------------------
This e-mail is confidential and should not be used by anyone who is not 
the original intended recipient. If you have received this e-mail in 
error please inform the sender and delete it from your mailbox or any 
other storage mechanism. SyynX Solutions GmbH Germany cannot accept 
liability for any statements made which are clearly the sender's own and 
not expressly made on behalf of SyynX Solutions GmbH Germany.


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

Re: The version resource does not correspond to the resource within the transaction.

Posted by Ryan Schmidt <su...@ryandesign.com>.
On May 3, 2006, at 17:32, Achim Domma, SyynX Solutions GmbH wrote:

> once in a while I get the following error when I try to commit  
> changes:
>
> Error: Commit failed (details follow):
> Error: Your file or directory 'Web.config' is probably out-of-date
> Error: The version resource does not correspond to the resource  
> within the transaction.  Either the requested version resource is  
> out of date (needs to be updated), or the requested version  
> resource is newer than the transaction root (restart the commit).
>
> The output is from Tortoise, but command line gets the same result.  
> The error is simply wrong: I'm the only person working on this  
> project. If I try to do an "update", I see that my version is  
> already up-to-date. Clean up has no effect.

When you run "svn update", are you then able to commit without this  
error message? If so, then everything is working as it's supposed to.  
Just because you're the only one working on the project does not mean  
that your working copy is automatically up-to-date. Only the part you  
have committed is up-to-date; the parts that were not changed by the  
last commit have not been updated. Your working copy is in a mixed- 
revision state. This situation and some of its implications is  
described in the book:

http://svnbook.red-bean.com/en/1.1/ch02s03.html#svn-ch-2-sect-3.4

Some operations require your working copy to be completely up-to-date  
with the HEAD revision, such as operations on directory properties, I  
believe. This enhancement request may be relevant:

http://subversion.tigris.org/issues/show_bug.cgi?id=1539




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