[PATCH 2 of 2] templatefilters: undeprecate hgdate

Yuya Nishihara yuya at tcha.org
Wed Jun 13 10:00:32 EDT 2018


# HG changeset patch
# User Yuya Nishihara <yuya at 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

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
 


More information about the Mercurial-devel mailing list