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

Re: Commit error: "The version resource does not correspond to theresource within the transaction."

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-05-23 17:16:30 CEST

Vilar Camara Neto wrote:
>>So run 'svn update' to bring your entire working copy to HEAD. Then
>>commit.
>
>
> I already tried it, an it worked. But I think this is just a workaround,
> the real thing isn't addressed yet...

No, it isn't a workaround; it is the nature of working with mixed revision
working copies. Even though *you* are the only one working with the WC and the
only one committing to the repository, you must 'svn up' before certain
operations, otherwise the software assumes you are not up to date. Just doing
'svn ci' is not sufficient in the general case.

In fact, running 'svn up' will likely do nothing to your working copy except
mark it as being up to date. A 'svn ci' will never make your working copy up to
date, because in the general case (with multiple committers), you may be missing
changes made to the repository and need to merge them with your local copy
before being able to make a consistent commit.

HTH

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4720 Boston Way
Lanham, MD 20706
301-459-3366 x.5010
fax 301-429-5747
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun May 23 17:16:38 2004

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.