Patchwork [2,of,2] templatefilters: undeprecate hgdate

login
register
mail settings
Submitter Yuya Nishihara
Date June 13, 2018, 2 p.m.
Message ID <74b4a54002ecb2059612.1528898432@mimosa>
Download mbox | patch
Permalink /patch/32116/
State Accepted
Headers show

Comments

Yuya Nishihara - June 13, 2018, 2 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@tcha.org>
# 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
Augie Fackler - June 13, 2018, 2:52 p.m.
On Wed, Jun 13, 2018 at 11:00:32PM +0900, Yuya Nishihara wrote:
> # HG changeset patch
> # User Yuya Nishihara <yuya@tcha.org>
> # Date 1528894722 -32400
> #      Wed Jun 13 21:58:42 2018 +0900
> # Node ID 74b4a54002ecb2059612d5e69ba204d05c818542
> # Parent  88e7105b5cd927ae0ecbe5dcc21c6125c4af4a6b
> templatefilters: undeprecate hgdate

queued, thanks

Patch

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