gup/gdown: properly mark these commands as deprecated
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 21 Sep 2017 14:50:55 +0200
changeset 2952 f1bbc536602a
parent 2951 2ddc63d13af8
child 2953 b9aea9e48203
gup/gdown: properly mark these commands as deprecated They are no longer displayed in the documentation.
hgext3rd/evolve/__init__.py
--- 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)