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

Re: svn commit error

From: John Swartzentruber <nospam2_at_mcswartz.org>
Date: 2005-02-15 22:06:37 CET

On 2/15/2005 3:45 PM Ben Collins-Sussman wrote:
> On Feb 15, 2005, at 2:16 PM, John Swartzentruber wrote:
>> 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).
> There was a heisen-bug somebody found months ago, whereby the DAV layer
> wasn't updating the secret DAV cache it keeps in the .svn/ area.
> Specifically the files within the .svn/wcprops/ area. If those caches
> aren't updated properly, DAV will start giving errors like this.
> An immediate solution to your problem is to just 'rm .svn/wcprops/*'. A
> non-existent cache is better than an incorrect cache!

I'll try that, but I'll leave it in its current state for a little
longer to see if I can help track anything down.

> But is there any way to reproduce the problem? What version of client
> and server? We need a better recipe than "this happens sometimes".

Yea, I know, but I'm not sure how to come up with a recipe that's more
specific than "edit some files for a couple days, do some updates, try
to commit". There are only two of us making any changes in this repository.

As far as versions go, may I take this opportunity to suggest a
"--version" option? I'm not sure how to go about answering your
question. I keep my client program as current as I can. I went to the
svn.exe properties and it says the file version is "". How
can I find out the server version? It isn't local and I access via http.

I'll try to answer Dale Worley's questions here, to keep the thread a
little more focused. I hope that is OK.

> If "svn update" doesn't clear the problem, here are some things to try:
> "svn status -uv" will give some idea what the latest versions in the
> repository are, and what versions you have in the repository. Try doing
> "svn info" on each file mentioned, and the chain of directories containing
> it. (In your example, "Common/General/genmsgs.msg", "Common/General", and
> "Common".)

The "svn status -uv" didn't tell me anything much. For this one file, it is:

C:\Dev\Tracker>svn status -uv General\genmsgs.msg
M 238 212 johns General\genmsgs.msg
Status against revision: 238

Here are the svn info outputs. Keep in mind that I'm using
svn:externals, so the "/Common" part isn't in my working copy, only in
the repository.

C:\Dev\Tracker>svn info General\genmsgs.msg
Path: General\genmsgs.msg
Name: genmsgs.msg
URL: http://subversion.col.primatech.com/Common/General/genmsgs.msg
Repository UUID: 2ba1ea66-f4ec-0310-91a6-be4893faf194
Revision: 238
Node Kind: file
Schedule: normal
Last Changed Author: johns
Last Changed Rev: 212
Last Changed Date: 2005-02-10 16:17:50 -0500 (Thu, 10 Feb 2005)
Text Last Updated: 2005-02-10 14:21:48 -0500 (Thu, 10 Feb 2005)
Properties Last Updated: 2005-01-07 15:31:31 -0500 (Fri, 07 Jan 2005)
Checksum: 5710bcc7bda23648322b72f8637f230e

C:\Dev\Tracker>svn info General
Path: General
URL: http://subversion.col.primatech.com/Common/General
Repository UUID: 2ba1ea66-f4ec-0310-91a6-be4893faf194
Revision: 238
Node Kind: directory
Schedule: normal
Last Changed Author: jeffh
Last Changed Rev: 234
Last Changed Date: 2005-02-15 12:17:59 -0500 (Tue, 15 Feb 2005)

C:\Dev\Tracker>svn info .
Path: .
URL: http://subversion.col.primatech.com/Views/Tracker/Trunk
Repository UUID: 2ba1ea66-f4ec-0310-91a6-be4893faf194
Revision: 238
Node Kind: directory
Schedule: normal
Last Changed Author: johns
Last Changed Rev: 237
Last Changed Date: 2005-02-15 14:55:57 -0500 (Tue, 15 Feb 2005)
Properties Last Updated: 2005-02-15 12:12:23 -0500 (Tue, 15 Feb 2005)

Do you see any problems? Is there anything else I should try before I
try to delete my cache as Ben has suggested? Thanks for your help.

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