Mercurial > hg
view tests/test-ui-config.out @ 6150:aafdea37f796
Infer a --repository argument from command arguments when reasonable.
In particular: if invoked without -R from a CWD not inside a repo, having been
passed one or more file paths as command arguments, where the nearest enclosing
repo of all of those paths is the same, quietly infer a -R option for that repo.
Otherwise abort with an error message as before.
author | Jesse Glick <jesse.glick@sun.com> |
---|---|
date | Fri, 25 Jan 2008 04:11:32 -0500 |
parents | 9881abfc0e44 |
children | fca54469480e |
line wrap: on
line source
[('bool1', 'true'), ('bool2', 'false'), ('string', 'string value')] [('list1', 'foo'), ('list2', 'foo bar baz'), ('list3', 'alice, bob'), ('list4', 'foo bar baz alice, bob')] Error in configuration section [interpolation]: '%' must be followed by '%' or '(', found: '%bad2' --- 'string value' 'true' 'false' None --- Error in configuration section [values] parameter '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'] --- 'hallo' 'hallo world' Error in configuration section [interpolation] parameter 'value3': Bad value substitution: section: [interpolation] option : value3 key : novalue rawval : Error in configuration section [interpolation] parameter 'value4': bad interpolation variable reference '%(bad)1' Error in configuration section [interpolation] parameter 'value5': '%' must be followed by '%' or '(', found: '%bad2' --- No option 'Bar' in section: 'foo' f == function