The Archives

  • 04.Feb.11
    Easy svn blame vim mapping shell | fernape | (0)
    The other day, this colleague of mine asked me how he could use svn blame on the same file he was editing without leaving his vim session. This is a mapping I wrote for that purpose. :map <F3> :sp %.tmp_svnblame \| :r! svn blame $(basename % .tmp_svnblame)<CR> Enjoy!
  • 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.