merge crew with hg-churn
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Tue, 05 Sep 2006 11:33:47 +0200
changeset 3058 713de12d9ce5
parent 3056 3dab573a4330 (current diff)
parent 3057 50e0392d51df (diff)
child 3059 5e39ad2c8b52
merge crew with hg-churn
--- 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]