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

login
register
mail settings
Submitter phabricator
Date Dec. 16, 2019, 6:31 a.m.
Message ID <1b63ebca979258ebc3d5b326dcd6677e@localhost.localdomain>
Download mbox | patch
Permalink /patch/43855/
State Not Applicable
Headers show

Comments

phabricator - Dec. 16, 2019, 6:31 a.m.
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




To: mharbison72, #hg-reviewers, pulkit
Cc: mercurial-devel

Patch

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)