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