revlog: simplify revlog version handling
- pass the default version as an attribute on the opener
- eliminate config option mess
glob:<directory> patterns match the files in that directory.
This makes the behaviour of glob: patterns more consistent:
hg status glob:dir and hg status -I glob:dir will match
the same files.
It's also consistent with the fact that {rel,}path patterns
recursively match the contents of a directory.
Pass normalized directory names to the ignore function
This fixes a bad performance regression caused by
dd0d9bd91e0a.
fix hg commit . in the repo root