hgk.py: fix for a bug introduced in
32fd512ca7c0
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
hgk.py: fix warnings from pychecker
- unused variables
- usage of undefined variables (opts and filterfiles)
hgk.py: add an optional file list to debug-diff-tree
this solves a problem when hgk was trying to display merges diff
really treat the right side of acl.{allow,deny} as a list of users
the current implementation seems to expect only user per pattern, which
contradicts the documentation available at the file beginning.
Fix for Python 2.3 compatibility.
Note: Name of comparing function of sort() is "cmpfunc" in Python 2.3
and "cmp" in Python 2.4.