Mercurial > hg
comparison tests/test-ui-config @ 4549:0c61124ad877
dispatch: move dispatching code to cmdutil
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 11 Jun 2007 21:09:24 -0500 |
parents | 3fef134832d8 |
children | 9881abfc0e44 |
comparison
equal
deleted
inserted
replaced
4548:c9fcebbfc422 | 4549:0c61124ad877 |
---|---|
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 | 2 |
3 import ConfigParser | 3 import ConfigParser |
4 from mercurial import ui, util, commands | 4 from mercurial import ui, util, cmdutil |
5 | 5 |
6 testui = ui.ui() | 6 testui = ui.ui() |
7 parsed = commands.parseconfig([ | 7 parsed = cmdutil.parseconfig([ |
8 'values.string=string value', | 8 'values.string=string value', |
9 'values.bool1=true', | 9 'values.bool1=true', |
10 'values.bool2=false', | 10 'values.bool2=false', |
11 'lists.list1=foo', | 11 'lists.list1=foo', |
12 'lists.list2=foo bar baz', | 12 'lists.list2=foo bar baz', |