Mercurial > public > mercurial-scm > hg-stable
comparison doc/gendoc.py @ 41040: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 | c0865f3da285 |
children | 0786b791b3b5 |
comparison
equal
deleted
inserted
replaced
41039:73da729ccfef | 41040:2eeef8e577ac |
---|---|
235 | 235 |
236 ui = uimod.ui.load() | 236 ui = uimod.ui.load() |
237 if doc == b'hg.1.gendoc': | 237 if doc == b'hg.1.gendoc': |
238 showdoc(ui) | 238 showdoc(ui) |
239 else: | 239 else: |
240 showtopic(ui, sys.argv[1]) | 240 showtopic(ui, encoding.strtolocal(sys.argv[1])) |