From patchwork Mon Dec 16 06:31:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D7671: debugcommands: finish moving `extendeddateformats` from util to dateutil From: phabricator X-Patchwork-Id: 43855 Message-Id: <1b63ebca979258ebc3d5b326dcd6677e@localhost.localdomain> To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Mon, 16 Dec 2019 06:31:47 +0000 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 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)