hgext/churn.py
changeset 36607 c6061cadb400
parent 36392 e9bcc2efb7e8
child 38066 543b7b349b2c
--- a/hgext/churn.py	Thu Feb 08 23:27:24 2018 +0530
+++ b/hgext/churn.py	Thu Feb 15 17:18:26 2018 +0100
@@ -23,8 +23,8 @@
     pycompat,
     registrar,
     scmutil,
-    util,
 )
+from mercurial.utils import dateutil
 
 cmdtable = {}
 command = registrar.command(cmdtable)
@@ -65,7 +65,7 @@
     rate = {}
     df = False
     if opts.get('date'):
-        df = util.matchdate(opts['date'])
+        df = dateutil.matchdate(opts['date'])
 
     m = scmutil.match(repo[None], pats, opts)
     def prep(ctx, fns):