hgext/churn.py
changeset 11501 deb5d02ae91c
parent 11321 40c06bbf58be
child 12070 fddacca3202e
--- a/hgext/churn.py	Thu Jul 01 19:27:03 2010 -0300
+++ b/hgext/churn.py	Thu Jul 01 19:27:03 2010 -0300
@@ -149,7 +149,8 @@
 
     if opts.get('diffstat'):
         width -= 15
-        def format(name, (added, removed)):
+        def format(name, diffstat):
+            added, removed = diffstat
             return "%s %15s %s%s\n" % (pad(name, maxname),
                                        '+%d/-%d' % (added, removed),
                                        ui.label('+' * charnum(added),