##// END OF EJS Templates
templatekw: export ui.paths as {peerpaths}...
templatekw: export ui.paths as {peerpaths} It's sometimes useful to show hyperlinks in log output. "{get(peerpaths, "default")}/rev/{node}" Since each path may have sub options, "{peerpaths}" is structured as a dict of dicts, but the inner dict is rendered as if it were a string URL. The implementation is ad-hoc, so there are some weird behaviors described in the test. We might need to introduce a proper way of handling a hybrid scalar object. This patch adds _hybrid.__getitem__() so d['path']['url'] works. The keyword is named as "peerpaths" since "paths" seemed too generic in log context.

File last commit:

r28809:7a1ad08b default
r33414:16ed6716 default
Show More
test-gendoc-zh_CN.t
4 lines | 87 B | text/troff | Tads3Lexer
#require docutils gettext
$ $TESTDIR/check-gendoc zh_CN
checking for parse errors