parsers: add a C function to pack the dirstate
This is about 9 times faster than the Python dirstate packing code.
The relatively small speedup is due to the poor locality and memory
access patterns caused by traversing dicts and other boxed Python
values.
test-commit: remove extra cd ..
This specific cd .. leaves the base directory of the test ($TESTTMP).
Removing it avoids that test artifacts (e.g. files) are created
outside of the base directory.
notify: various fixes to docstring
Typo corrections, grammar adjustments, clarity improvements.
tests: reintroduce globs in test-convert-authormap.t
They are needed on windows and were accidentally removed in
eaf6a6d7f015.