changeset 45486:0d119802242b

churn: add an usage example in docstring
author "Stephane" <stephane@yaal.fr>
date Thu, 17 Sep 2020 15:34:13 +0200
parents 6916e6b81fef
children 453bc6ca9ab2
files hgext/churn.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/churn.py	Thu Sep 17 15:47:19 2020 +0530
+++ b/hgext/churn.py	Thu Sep 17 15:34:13 2020 +0200
@@ -183,6 +183,9 @@
       # display count of lines changed in every year
       hg churn -f "%Y" -s
 
+      # display count of lines changed in a time range
+      hg churn -d "2020-04 to 2020-09"
+
     It is possible to map alternate email addresses to a main address
     by providing a file using the following format::