add test case for directory exclusion

fix missing canonicalization of input dirs

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

mercurial