add test case for directory exclusion

fix missing canonicalization of input dirs

fix Windows build

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

mercurial