~ubuntu-branches/ubuntu/precise/mercurial/precise-updates

« back to all changes in this revision

Viewing changes to tests/test-ui-config.py

  • Committer: Bazaar Package Importer
  • Author(s): Vincent Danjean, Javi Merino, Vincent Danjean
  • Date: 2010-07-04 09:55:28 UTC
  • mfrom: (1.2.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20100704095528-bzag1mhfylss9zth
Tags: 1.6-1
[ Javi Merino ]
* New upstream release (1.6). Many bug fixes and improvements. Among
    them:
  - push: break infinite http recursion bug with Python 2.6.5
       (issue2179 and issue2255) (Closes: #586907)
  - zeroconf: Don't use string exceptions (Closes: #585250)
* Removed patch for_upstream__bashism_in_examples.patch since a fix for
    #581122 is included upstream.
* Updated Standards-Version to 3.9 (no change needed)

[ Vincent Danjean ]
* debian/control:
  + Use Breaks instead of Conflicts
  + Use a fixed version in Replaces
    I put 1.4 but it has been a long time since nothing has been moved
    from mercurial to mercurial-common

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
    'lists.list2=foo bar baz',
12
12
    'lists.list3=alice, bob',
13
13
    'lists.list4=foo bar baz alice, bob',
 
14
    'lists.list5=abc d"ef"g "hij def"',
 
15
    'lists.list6="hello world", "how are you?"',
 
16
    'lists.list7=Do"Not"Separate',
 
17
    'lists.list8="Do"Separate',
 
18
    'lists.list9="Do\\"NotSeparate"',
 
19
    'lists.list10=string "with extraneous" quotation mark"',
 
20
    'lists.list11=x, y',
 
21
    'lists.list12="x", "y"',
 
22
    'lists.list13=""" key = "x", "y" """',
 
23
    'lists.list14=,,,,     ',
 
24
    'lists.list15=" just with starting quotation',
 
25
    'lists.list16="longer quotation" with "no ending quotation',
 
26
    'lists.list17=this is \\" "not a quotation mark"',
 
27
    'lists.list18=\n \n\nding\ndong',
14
28
])
15
29
 
16
30
print repr(testui.configitems('values'))
36
50
print repr(testui.configlist('lists', 'list3'))
37
51
print repr(testui.configlist('lists', 'list4'))
38
52
print repr(testui.configlist('lists', 'list4', ['foo']))
 
53
print repr(testui.configlist('lists', 'list5'))
 
54
print repr(testui.configlist('lists', 'list6'))
 
55
print repr(testui.configlist('lists', 'list7'))
 
56
print repr(testui.configlist('lists', 'list8'))
 
57
print repr(testui.configlist('lists', 'list9'))
 
58
print repr(testui.configlist('lists', 'list10'))
 
59
print repr(testui.configlist('lists', 'list11'))
 
60
print repr(testui.configlist('lists', 'list12'))
 
61
print repr(testui.configlist('lists', 'list13'))
 
62
print repr(testui.configlist('lists', 'list14'))
 
63
print repr(testui.configlist('lists', 'list15'))
 
64
print repr(testui.configlist('lists', 'list16'))
 
65
print repr(testui.configlist('lists', 'list17'))
 
66
print repr(testui.configlist('lists', 'list18'))
39
67
print repr(testui.configlist('lists', 'unknown'))
40
68
print repr(testui.configlist('lists', 'unknown', ''))
41
69
print repr(testui.configlist('lists', 'unknown', 'foo'))