Mercurial > evolve
changeset 5661:4b6b559b92c8 stable
docs: make docs/conf.py compatible with Python 3
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 06 Jul 2020 00:17:44 +0800 |
parents | 9d6c3e227455 |
children | bec8a04d2f6a |
files | docs/conf.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/docs/conf.py Mon Nov 09 23:10:06 2020 +0800 +++ b/docs/conf.py Mon Jul 06 00:17:44 2020 +0800 @@ -15,6 +15,7 @@ from mercurial import ( commands, extensions as hgext, + pycompat, ui as uimod, ) @@ -154,7 +155,7 @@ ui.disablepager() rootdir = abspath(dirname(dirname(__file__))) evolvepath = join(rootdir, 'hgext3rd', 'evolve') - ui.setconfig('extensions', 'evolve', evolvepath) + ui.setconfig(b'extensions', b'evolve', pycompat.bytestr(evolvepath)) hgext.loadall(ui) ui.pushbuffer() commands.help_(ui, self.content[0].encode('utf-8'))