hgext/churn.py
branchstable
changeset 13123 2506658c3927
parent 12689 c52c629ce19e
child 14040 9d2be7e17fc1
--- a/hgext/churn.py	Fri Dec 10 01:30:16 2010 +0100
+++ b/hgext/churn.py	Mon Dec 13 16:41:39 2010 +0900
@@ -62,6 +62,7 @@
 
         key = getkey(ctx)
         key = amap.get(key, key) # alias remap
+        key = key.strip() # ignore leading and trailing spaces
         if opts.get('changesets'):
             rate[key] = (rate.get(key, (0,))[0] + 1, 0)
         else: