Show More
@@ -60,9 +60,8 b' def countrate(ui, repo, amap, *pats, **o' | |||||
60 | if df and not df(ctx.date()[0]): # doesn't match date format |
|
60 | if df and not df(ctx.date()[0]): # doesn't match date format | |
61 | return |
|
61 | return | |
62 |
|
62 | |||
63 | key = getkey(ctx) |
|
63 | key = getkey(ctx).strip() | |
64 | key = amap.get(key, key) # alias remap |
|
64 | key = amap.get(key, key) # alias remap | |
65 | key = key.strip() # ignore leading and trailing spaces |
|
|||
66 | if opts.get('changesets'): |
|
65 | if opts.get('changesets'): | |
67 | rate[key] = (rate.get(key, (0,))[0] + 1, 0) |
|
66 | rate[key] = (rate.get(key, (0,))[0] + 1, 0) | |
68 | else: |
|
67 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now