D7671: debugcommands: finish moving `extendeddateformats` from util to dateutil

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Mon Dec 16 01:31:47 EST 2019


Closed by commit rHG38d6aa768310: debugcommands: finish moving `extendeddateformats` from util to dateutil (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7671?vs=18735&id=18747

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7671/new/

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, pulkit
Cc: mercurial-devel


More information about the Mercurial-devel mailing list