Simple script to add a file or directory to Mercurial’s .hgignore

If you use Mercurial as a Source Control Management (SCM) system (and if you don’t, then you should seriously ask yourself why) then you have probably grown used to the rather repetitive editing of the .hgignore file, to add files / folders that should not be under version control. The need is particularly acute if … More Simple script to add a file or directory to Mercurial’s .hgignore