D7671: debugcommands: finish moving `extendeddateformats` from util to dateutil
mharbison72 (Matt Harbison)
phabricator at mercurial-scm.org
Mon Dec 16 04:13:07 UTC 2019
mharbison72 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REVISION SUMMARY
Caught by pytype.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D7671
AFFECTED FILES
mercurial/debugcommands.py
CHANGE DETAILS
diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -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)
To: mharbison72, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list