You're going to want to use 'svn merge'

    1. svn merge --dry-run -r:73:68 http://my.repository.com/my/project/trunk
    2. svn merge -r:73:68 http://my.repository.com/my/project/trunk
    3. svn commit -m "Reverted to revision 68."


here's some resources from a nifty little website:

http://www.google.com/search?q=svn+reverting+to+a+previous+version&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a




Kerri Miller
[email protected]




On May 7, 2009, at 8:23 AM, Paul Willis wrote:

>
> Hi
>
> This is more a general Subversion question rather than a Versions
> issue but I'm sure the answer will be helpful to others here...
>
> If I make a change to a file in my working copy and then commit it. I
> then realise I have made a mistake and want to put everything back to
> the previous version.
>
> How do I do that?
>
> I tried using the menu item "Revert 'file' to Revision..." to go back
> one version, this changed the file in my working copy back to the old
> version but when I tried to commit it I got an error message that my
> file was outdated.
>
> In the end I had to save the old version of the file to my desktop,
> Update my working copy to get the messed up file from the repository,
> replace it with the one from my desktop and then commit this as a new
> revision.
>
> There must be an easier way?
>
> Paul
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Versions" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/versions?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to