Re: [PATCH 2 of 2] templatefilters: undeprecate hgdate

2018-06-13 Thread Augie Fackler
On Wed, Jun 13, 2018 at 11:00:32PM +0900, Yuya Nishihara wrote:
> # 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

queued, thanks
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


[PATCH 2 of 2] templatefilters: undeprecate hgdate

2018-06-13 Thread Yuya Nishihara
# 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
 
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel