diff hgext/churn.py @ 11265:ffd85ab578be

churn: add possibility to include/exclude paths
author Alexander Solovyov <piranha@piranha.org.ua>
date Thu, 27 May 2010 22:50:23 +0300
parents 30c620e48d1c
children e1dde7363601
line wrap: on
line diff
--- a/hgext/churn.py	Wed Jun 02 14:28:45 2010 +0200
+++ b/hgext/churn.py	Thu May 27 22:50:23 2010 +0300
@@ -9,7 +9,7 @@
 '''command to display statistics about repository history'''
 
 from mercurial.i18n import _
-from mercurial import patch, cmdutil, util, templater
+from mercurial import patch, cmdutil, util, templater, commands
 import os
 import time, datetime
 
@@ -182,6 +182,6 @@
           ('s', 'sort', False, _('sort by key (default: sort by count)')),
           ('', 'diffstat', False, _('display added/removed lines separately')),
           ('', 'aliases', '', _('file with email aliases')),
-          ],
+          ] + commands.walkopts,
          _("hg churn [-d DATE] [-r REV] [--aliases FILE] [FILE]")),
 }