Mercurial > hg
view tests/test-ui-config.py.out @ 10843:b91c1804008e
templater: directly parse templates, no regexes
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 05 Apr 2010 14:33:41 -0500 |
parents | 807f3f5c60e9 |
children | 0a548640e012 |
line wrap: on
line source
[('string', 'string value'), ('bool1', 'true'), ('bool2', 'false')] [('list1', 'foo'), ('list2', 'foo bar baz'), ('list3', 'alice, bob'), ('list4', 'foo bar baz alice, bob')] --- 'string value' 'true' 'false' None --- values.string not a boolean ('string value') True False False False True --- ['foo'] ['foo', 'bar', 'baz'] ['alice', 'bob'] ['foo', 'bar', 'baz', 'alice', 'bob'] ['foo', 'bar', 'baz', 'alice', 'bob'] [] [] ['foo'] ['foo'] ['foo', 'bar'] ['foo', 'bar'] ['foo bar'] ['foo', 'bar'] None True