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

Re: reverting to a older revision in svn

From: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 15 Nov 2010 17:00:08 -0500

On Mon, Nov 15, 2010 at 16:55, Tom Cruickshank <tcruicksh_at_gmail.com> wrote:
> Hey Guys,
>      I'm trying to figure out how to revert a file committed into svn to an
> older revision.
> Let's say I have a file called /customers/index.php currently at revision
> 150, and would like to go back to revision 100.
> it's the only file I would like to revert. What arguments might I need to
> accomplish this?
> I'm surfing the web and having problems
> got this so far:
> svn merge -r 150:110 /customers/index.php
> this is typed in my checkout. Is that the correct place for it?

Yes. http://svnbook.red-bean.com/nightly/en/svn.branchmerge.basicmerging.html#svn.branchmerge.basicmerging.undo
Received on 2010-11-15 23:01:27 CET

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.