From patchwork Wed Jun 13 14:00:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2,of,2] templatefilters: undeprecate hgdate From: Yuya Nishihara X-Patchwork-Id: 32116 Message-Id: <74b4a54002ecb2059612.1528898432@mimosa> To: mercurial-devel@mercurial-scm.org Date: Wed, 13 Jun 2018 23:00:32 +0900 # HG changeset patch # User Yuya Nishihara # Date 1528894722 -32400 # Wed Jun 13 21:58:42 2018 +0900 # Node ID 74b4a54002ecb2059612d5e69ba204d05c818542 # Parent 88e7105b5cd927ae0ecbe5dcc21c6125c4af4a6b templatefilters: undeprecate hgdate See the previous patch for why. Backed out changeset 0fe65bb7e160 diff --git a/mercurial/templatefilters.py b/mercurial/templatefilters.py --- a/mercurial/templatefilters.py +++ b/mercurial/templatefilters.py @@ -241,7 +241,7 @@ def hexfilter(text): @templatefilter('hgdate', intype=templateutil.date) def hgdate(text): """Date. Returns the date as a pair of numbers: "1157407993 - 25200" (Unix timestamp, timezone offset). (DEPRECATED) + 25200" (Unix timestamp, timezone offset). """ return "%d %d" % text