changeset 2952:f1bbc536602a

gup/gdown: properly mark these commands as deprecated They are no longer displayed in the documentation.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 21 Sep 2017 14:50:55 +0200
parents 2ddc63d13af8
children b9aea9e48203
files hgext3rd/evolve/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/__init__.py	Thu Sep 21 10:39:49 2017 +0200
+++ b/hgext3rd/evolve/__init__.py	Thu Sep 21 14:50:55 2017 +0200
@@ -973,7 +973,7 @@
         ui = args[0]
         ui.warn(deprecationwarning)
         util.checksignature(fn)(*args, **kwargs)
-    newfn.__doc__ = deprecationwarning
+    newfn.__doc__ = deprecationwarning + ' (DEPRECATED)'
     cmdwrapper = eh.command(oldalias, opts, synopsis)
     cmdwrapper(newfn)