Mercurial > public > mercurial-scm > hg-stable
diff tests/test-py3-commands.t @ 32638:c9318beb7c1a
py3: convert __doc__ back to bytes in help.py
pycompat.getdoc() is pretty simple, but we wouldn't want to write handling
of None inline.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 01 Jun 2017 22:24:15 +0900 |
parents | dc0da9829c29 |
children | 6df193b5c437 |
line wrap: on
line diff
--- a/tests/test-py3-commands.t Thu Jun 01 01:41:34 2017 +0530 +++ b/tests/test-py3-commands.t Thu Jun 01 22:24:15 2017 +0900 @@ -137,6 +137,20 @@ update: (current) phases: 2 draft +Test weird unicode-vs-bytes stuff + + $ $PYTHON3 $HGBIN help | egrep -v '^ |^$' + Mercurial Distributed SCM + list of commands: + additional help topics: + (use 'hg help -v' to show built-in aliases and global options) + + $ $PYTHON3 $HGBIN help help | egrep -v '^ |^$' + hg help [-ecks] [TOPIC] + show help for a given topic or a help overview + options ([+] can be repeated): + (some details hidden, use --verbose to show complete help) + Prove the repo is valid using the Python 2 `hg`: $ hg verify checking changesets