Mercurial > hg
diff mercurial/debugcommands.py @ 43878:38d6aa768310
debugcommands: finish moving `extendeddateformats` from util to dateutil
Caught by pytype.
Differential Revision: https://phab.mercurial-scm.org/D7671
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 15 Dec 2019 18:30:16 -0500 |
parents | 23ad4f0c1578 |
children | 7a2c49a3cbae |
line wrap: on
line diff
--- a/mercurial/debugcommands.py Sat Dec 14 18:31:50 2019 -0500 +++ b/mercurial/debugcommands.py Sun Dec 15 18:30:16 2019 -0500 @@ -653,7 +653,7 @@ def debugdate(ui, date, range=None, **opts): """parse and display a date""" if opts["extended"]: - d = dateutil.parsedate(date, util.extendeddateformats) + d = dateutil.parsedate(date, dateutil.extendeddateformats) else: d = dateutil.parsedate(date) ui.writenoi18n(b"internal: %d %d\n" % d)