git --diff: fix traceback when getting mode change
- use the manifest instead of the mode in the working dir
if the diff is against two revisions
- add a testcase
*** failed to import extension badext: invalid syntax (badext.py, line 1)hg help [COMMAND]show help for a command, extension, or list of commands