diff -r 32a2a1e244f1 -r a1a5a57efe90 mercurial/hook.py --- a/mercurial/hook.py Sun Apr 26 16:50:44 2009 -0500 +++ b/mercurial/hook.py Sun Apr 26 16:50:44 2009 -0500 @@ -104,7 +104,7 @@ os.dup2(sys.__stderr__.fileno(), sys.__stdout__.fileno()) try: - for hname, cmd in util.sort(ui.configitems('hooks')): + for hname, cmd in ui.configitems('hooks'): if hname.split('.')[0] != name or not cmd: continue if callable(cmd):