mercurial hook: skip duplicates
mercurial hook: skip duplicates

If a push contains several commits affecting many times the same
file, we only need to check once for the changed file.

wdv4758h/flake8,lericson/flake8