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
#!/bin/shunset HGUSEREMAIL="My Name <myname@example.com>"export EMAILhg init testcd testtouch asdfhg add asdfhg commit -d '1000000 0' -m commit-1hg tip