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

Re: svn commit is failing

From: Jason Connor <jason.connor_at_gmail.com>
Date: 2007-05-09 20:36:51 CEST

I think the question is: what problem are you trying to solve here?

I'm not 100% sure what you were trying to do. But it seems that you
were trying to rollback a file to previous revision. If that's the
case, here's what I'd do:

When I rollback changes, I use 'svn merge'. It allows me rollback on
an individual file basis. Here's a sample command:

svn merge -r HEAD:2110 svn+ssh://host/repo/trunk/my_file.c

Assuming that 2110 isn't the latest revision in the repository, this
will rollback the working copy of 'my_file.c' to revision 2110.
You need to be in the working copy directory for this to work. And
you'll need to commit afterwards.

I hope this helps. If not, feel free to ignore me :-)

On 5/9/07, JRancier@penntraffic.com <JRancier@penntraffic.com> wrote:
>
> Hello,
>
> I need to checkout a previous version of a file to unbreak some changes.
> So, I did a co by revision number (the previous revision). That didn't
> work, so I did the same with for the next previous revision. I run svn
> status, and that file had an 'MM' as the flags. I could check it in, so I
> 'revert'ed twice, copied my current file over the reverted changes, and
> attempted to check it back in. Here's the error I'm getting:
>
> svn failed: 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).
>
> Is there any recovery here?
>

-- 
Jason Connor
"Depression is merely anger without any enthusiasm."
-- Steven Wright
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 9 20:37:11 2007

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.