patch: fix sort() comparator argument
'hg import' fails under Python 2.3. The name of the compare function parameter in the call to list.sort() is 'cmpfunc' in Python 2.3 and
'cmp' in Python 2.4+. Passing the compare function as a named parameter is therefore problematic.
#!/bin/sh
hg init
echo a > a
hg ci -d'0 0' -Am'not executable'
chmod +x a
hg ci -d'1 0' -m'executable'
hg id
hg up 0
hg id
test -x a && echo executable -- eek || echo not executable -- whew