Category Archives: Geen categorie

>Undo recent Subversion commits (updated)

>Here’s a quick HOWTO for undoing recent Subversion commits. Do:

svn merge -r NEW:OLD PATH


  • NEW is the new (bad) revision;
  • OLD is the old (good) revision;
  • PATH is the file or directory to revert.

For example:

svn merge -r 1680:1667 src/


  • Don’t forget to commit afterwards.
  • Instead of a revision number, you can also use the literal string HEAD for the most recent revision.
  • You can only pass one path at a time, but this can be a directory name instead of just a file name. To process multiple paths in a row on a UNIX/Linux/Mac system, use:
    for f in path1 path2 path3; do svn merge -r NEW:OLD $f; done

Updated (Nov. 27, 2008): Added some hints.


>Minor Mac Mail annoyances

>Overall, the Mail program on the Mac is simple and intuitive. But after searching intensively, I found one thing I think could be improved:

  • When replying to a message I wrote, I would expect the To: and CC: fields to remain the same. Instead, all the addresses in there are moved to the CC: field and the To: field is set to the original author (me).
Leave a comment

Posted by on 24 November 2006 in Geen categorie