View Single Post
Old 2007-07-17, 10:54   #6 (permalink)
infinityloop
Project Coordinator
 
infinityloop's Avatar
 
Join Date: Dec 2004
Location: 127.0.0.1
Age: 28
Posts: 6,003
Thanks: 155
Thanked 115 Times in 81 Posts

Country:

My System

Default

reverting to a older version of a file


Sometimes it happens that you woud love to be able to revert someting to an older version. Which is quite impossible, because virtualy noone is doing regulary backups.

Here come the versioning system in handy.
  1. just select the file you want to revert to an earlier version and select "show log"
    guide-svn-usage-revert-rev-1.jpg
  2. You will then see the histroy of the file. Now you will also notices that it is wise to choose meaningful log messages, because then you will find the version you look for easier
    guide-svn-usage-revert-rev-2.jpg
  3. Lets say we want to revert to revision 717. Then we have to select the file again and use "update to revision..."
    guide-svn-usage-revert-rev-3.jpg guide-svn-usage-revert-rev-4.jpg

If you do not commit your local file now, then you can also go back to the latest revision (718), by using "update to revision..." again.
infinityloop is offline