# HG changeset patch # User Benoit Boissinot # Date 1157448827 -7200 # Node ID 713de12d9ce5438ad7b55eca306fae547dd1a7c2 # Parent 3dab573a43300a380d000a27047cb8960438968c# Parent 50e0392d51df7dbafe2b7572f0b25f3d70000935 merge crew with hg-churn diff --git a/contrib/churn.py b/contrib/churn.py --- a/contrib/churn.py +++ b/contrib/churn.py @@ -156,7 +156,7 @@ def churn(ui, repo, **opts): # make a list of tuples (name, lines) and sort it in descending order ordered = stats.items() - ordered.sort(cmp=lambda x, y: cmp(y[1], x[1])) + ordered.sort(lambda x, y: cmp(y[1], x[1])) maximum = ordered[0][1]