[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: Ryan Schmidt <subversion-2007a_at_ryandesign.com>
Date: 2007-02-03 00:12:59 CET

On Feb 2, 2007, at 08:35, Mark Phippard wrote:

> On 2/2/07, Albert Shih wrote:
>
>> 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

How to undo changes is also described in the book:

http://svnbook.red-bean.com/en/1.2/
svn.branchmerge.commonuses.html#svn.branchmerge.commonuses.undo

-- 
To reply to the mailing list, please use your mailer's Reply To All  
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Feb 3 00:13:43 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.