##// 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:

r31755:ec48d57d default
r33414:16ed6716 default
Show More
test-revlog-raw.py.out
4 lines | 86 B | text/plain | TextLexer
/ tests / test-revlog-raw.py.out
local test passed
addgroupcopy test passed
clone test passed
lowlevelcopy test passed