Mercurial > hg
diff mercurial/util.py @ 42766:e94c8f584ee2
py3: do not convert rust module/attribute names to bytes
policy.import*() functions expect system strings.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 17 Aug 2019 10:25:04 +0900 |
parents | b5092c23ca35 |
children | 2372284d9457 |
line wrap: on
line diff
--- a/mercurial/util.py Sat Aug 17 15:43:41 2019 +0900 +++ b/mercurial/util.py Sat Aug 17 10:25:04 2019 +0900 @@ -53,7 +53,7 @@ stringutil, ) -rustdirs = policy.importrust('dirstate', 'Dirs') +rustdirs = policy.importrust(r'dirstate', r'Dirs') base85 = policy.importmod(r'base85') osutil = policy.importmod(r'osutil')