Mercurial, the helpful

Did a quick build fix checkin after a su - hudson a few minutes ago. The EDITOR and VISUAL environment vars were all of a sudden unset, so Mercurial decided to be helpful:

$ hg ci
Select an editor.  To change later, run 'select-editor'.
  1. /bin/ed
  2. /bin/nano        <---- easiest
  3. /usr/bin/emacs22
  4. /usr/bin/vim.tiny

Choose 1-4 [2]: 

So, to all you Emacs, ed and Vim fanatics in the audience, Mercurial has spoken: Nano is the easiest.

Update: The editor selection is, as Stian rightly points out, performed by Ubuntu’s select-editor.