py3: byteify one more sys.argv in gendoc.py
authorMatt Harbison <matt_harbison@yahoo.com>
Sat, 22 Dec 2018 00:05:39 -0500
changeset 41037 2eeef8e577ac
parent 41036 73da729ccfef
child 41038 3913223417ea
py3: byteify one more sys.argv in gendoc.py
doc/gendoc.py
--- a/doc/gendoc.py	Wed Dec 19 15:45:29 2018 +0100
+++ b/doc/gendoc.py	Sat Dec 22 00:05:39 2018 -0500
@@ -237,4 +237,4 @@
     if doc == b'hg.1.gendoc':
         showdoc(ui)
     else:
-        showtopic(ui, sys.argv[1])
+        showtopic(ui, encoding.strtolocal(sys.argv[1]))