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

svn commit error

From: John Swartzentruber <nospam2_at_mcswartz.org>
Date: 2005-02-15 21:16:48 CET

Frequently, when I try to do commits, I get the following 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)."

I've read the doc and I've googled for this error, but it seems that the
recommendation is just to do an "svn update". That makes no difference.
Restarting the commit also makes no difference.

What can I do? This is very, very annoying.

What I've done in the past is to go to a different working copy of the
same repository, copy my changed files into there, and commit the
changes from there. That is a workaround, but I'm getting tired of doing
that every day. Surely there is something I can do that will allow me to
commit my changes from the real working directory?

I'm not sure if it is significant, but working copy comes from a part of
the repository that has svn:externals to link to other parts of the same
repository.

Here is some example output (I'm running the latest version of svn under
Win2k):

C:\Dev\xxxxxxx>svn update -r HEAD General
At revision 237.

C:\Dev\xxxxxxx>svn commit General Source -m "[removed]"
Sending General\genmsgs.msg
svn: Commit failed (details follow):
svn: Your file or directory 'Common/General/genmsgs.msg' 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:\Dev\xxxxxxx>svn info general
Path: General
URL: http://subversion.col.primatech.com/Common/General
Repository UUID: 2ba1ea66-f44c-5310-9ea6-be8893faf192
Revision: 237
Node Kind: directory
Schedule: normal
Last Changed Author: jeffx
Last Changed Rev: 234
Last Changed Date: 2005-02-15 12:17:59 -0500 (Tue, 15 Feb 2005)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 15 21:26:10 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.