Show More
@@ -63,7 +63,7 b' def countrate(ui, repo, amap, *pats, **o' | |||||
63 | key = getkey(ctx) |
|
63 | key = getkey(ctx) | |
64 | key = amap.get(key, key) # alias remap |
|
64 | key = amap.get(key, key) # alias remap | |
65 | if opts.get('changesets'): |
|
65 | if opts.get('changesets'): | |
66 | rate[key] = rate.get(key, 0) + 1 |
|
66 | rate[key] = (rate.get(key, (0,))[0] + 1, 0) | |
67 | else: |
|
67 | else: | |
68 | parents = ctx.parents() |
|
68 | parents = ctx.parents() | |
69 | if len(parents) > 1: |
|
69 | if len(parents) > 1: |
@@ -55,6 +55,9 b' hg rm d/g/f2.txt' | |||||
55 | hg ci -Am "removed d/g/f2.txt" -u user1 -d 14:00 d/g/f2.txt |
|
55 | hg ci -Am "removed d/g/f2.txt" -u user1 -d 14:00 d/g/f2.txt | |
56 | hg churn --diffstat |
|
56 | hg churn --diffstat | |
57 |
|
57 | |||
|
58 | echo % changeset number churn | |||
|
59 | hg churn -c | |||
|
60 | ||||
58 | cd .. |
|
61 | cd .. | |
59 |
|
62 | |||
60 | # issue 833: ZeroDivisionError |
|
63 | # issue 833: ZeroDivisionError |
@@ -32,5 +32,9 b' 13 1 *****************' | |||||
32 | user1 +3/-1 +++++++++++++++++++++++++++++++++++++++++-------------- |
|
32 | user1 +3/-1 +++++++++++++++++++++++++++++++++++++++++-------------- | |
33 | user3 +3/-0 +++++++++++++++++++++++++++++++++++++++++ |
|
33 | user3 +3/-0 +++++++++++++++++++++++++++++++++++++++++ | |
34 | user2 +2/-0 +++++++++++++++++++++++++++ |
|
34 | user2 +2/-0 +++++++++++++++++++++++++++ | |
|
35 | % changeset number churn | |||
|
36 | user1 4 *************************************************************** | |||
|
37 | user3 3 *********************************************** | |||
|
38 | user2 2 ******************************** | |||
35 | adding foo |
|
39 | adding foo | |
36 | test 0 |
|
40 | test 0 |
General Comments 0
You need to be logged in to leave comments.
Login now