changeset 41037:2eeef8e577ac

py3: byteify one more sys.argv in gendoc.py
author Matt Harbison <matt_harbison@yahoo.com>
date Sat, 22 Dec 2018 00:05:39 -0500
parents 73da729ccfef
children 3913223417ea
files doc/gendoc.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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]))