mercurial/help.py
changeset 50621 822320591c46
parent 49664 f56873a7284c
child 50928 d718eddf01d9
--- a/mercurial/help.py	Thu Feb 02 17:37:51 2023 +0100
+++ b/mercurial/help.py	Thu Feb 02 17:26:10 2023 +0100
@@ -810,7 +810,7 @@
         doc = gettext(pycompat.getdoc(entry[0]))
         if not doc:
             doc = _(b"(no help text available)")
-        if util.safehasattr(entry[0], b'definition'):  # aliased command
+        if util.safehasattr(entry[0], 'definition'):  # aliased command
             source = entry[0].source
             if entry[0].definition.startswith(b'!'):  # shell alias
                 doc = _(b'shell alias for: %s\n\n%s\n\ndefined by: %s\n') % (