The Archives

  • 22.Apr.10
    Reverting to a previous version with svn (rollback) shell | pfortuny | (1)
    To rollback (that is, revert to a previous version) some files/dirs... using subversion, you need as Aral Balkan explains to Merge the previous version Commit Like this (assumming you want to roll back from version 61 to 58): pera $ svn merge r61:58 [... output ...] pera $ svn ci -m "Reverted to version 58" which is strange but works. Forget about the revert command, it has a different functionality. You may want to run pera $ svn merge --dry-run r61:58 ........ to check the changes which will take place before messing everything up.