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

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

From: Ryan Schmidt <subversion-2006q2_at_ryandesign.com>
Date: 2006-05-03 17:49:32 CEST

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
Received on Wed May 3 17:52:12 2006

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.