doc/gendoc.py
changeset 41037 2eeef8e577ac
parent 41030 c0865f3da285
child 42248 0786b791b3b5
--- 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]))