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

Re: revert to older...I'm become stupid

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-02-02 15:35:10 CET

On 2/2/07, Albert Shih <Albert.Shih@obspm.fr> wrote:
>
> Hi all
>
> Maybe I'm become stupid, but I've a repository (access with file:///), I
> want go back for one file :
>
> I'm doing
>
> svn update -r PREV name_file
>
> but after that when I want make a commit
>
> svn commit (or svn commit name_file)
>
> and...he do nothing !!!
>
> Where I'm wrong ?

I'd expect to see an error. You cannot commit a file if the version in your
WC is not the HEAD revision. If you want to undo a change, see this blog
post I made recently:

http://markphip.blogspot.com/2007/01/how-to-undo-commit-in-subversion.html

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
Received on Fri Feb 2 15:35:49 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.