Commit d3889ff3 authored by Anthony Martin's avatar Anthony Martin

codereview: restore help messages

Docstrings were not being set for the wrapper
functions returned by the hgcommand decorator.

R=golang-dev, minux.ma, rsc
CC=golang-dev
https://golang.org/cl/6059043
parent 9a6cef8b
...@@ -1263,6 +1263,7 @@ def hgcommand(f): ...@@ -1263,6 +1263,7 @@ def hgcommand(f):
if not err: if not err:
return 0 return 0
raise hg_util.Abort(err) raise hg_util.Abort(err)
wrapped.__doc__ = f.__doc__
return wrapped return wrapped
####################################################################### #######################################################################
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment