Show More
@@ -94,13 +94,15 def countrate(ui, repo, amap, *pats, **o | |||||
94 | def churn(ui, repo, *pats, **opts): |
|
94 | def churn(ui, repo, *pats, **opts): | |
95 | '''histogram of changes to the repository |
|
95 | '''histogram of changes to the repository | |
96 |
|
96 | |||
97 |
This command will display a histogram representing the number |
|
97 | This command will display a histogram representing the number | |
98 |
lines or revisions, grouped according to the given |
|
98 | of changed lines or revisions, grouped according to the given | |
99 | template will group changes by author. The --dateformat option may be used |
|
99 | template. The default template will group changes by author. | |
100 | to group the results by date instead. |
|
100 | The --dateformat option may be used to group the results by | |
|
101 | date instead. | |||
101 |
|
102 | |||
102 |
Statistics are based on the number of changed lines, or |
|
103 | Statistics are based on the number of changed lines, or | |
103 |
number of matching revisions if the |
|
104 | alternatively the number of matching revisions if the | |
|
105 | --changesets option is specified. | |||
104 |
|
106 | |||
105 | Examples:: |
|
107 | Examples:: | |
106 |
|
108 | |||
@@ -116,13 +118,13 def churn(ui, repo, *pats, **opts): | |||||
116 | # display count of lines changed in every year |
|
118 | # display count of lines changed in every year | |
117 | hg churn -f '%Y' -s |
|
119 | hg churn -f '%Y' -s | |
118 |
|
120 | |||
119 |
It is possible to map alternate email addresses to a main address |
|
121 | It is possible to map alternate email addresses to a main address | |
120 | providing a file using the following format:: |
|
122 | by providing a file using the following format:: | |
121 |
|
123 | |||
122 | <alias email> <actual email> |
|
124 | <alias email> <actual email> | |
123 |
|
125 | |||
124 |
Such a file may be specified with the --aliases option, otherwise |
|
126 | Such a file may be specified with the --aliases option, otherwise | |
125 | .hgchurn file will be looked for in the working directory root. |
|
127 | a .hgchurn file will be looked for in the working directory root. | |
126 | ''' |
|
128 | ''' | |
127 | def pad(s, l): |
|
129 | def pad(s, l): | |
128 | return (s + " " * l)[:l] |
|
130 | return (s + " " * l)[:l] |
General Comments 0
You need to be logged in to leave comments.
Login now