fixes error message when directory access fails

adds simple tiny test suite and updates license headers

adds test file skeleton to build system

adds more autogenerated files to .hgignore

(0) -30 -10 -4 +4 +10 tip

mercurial