~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_config.py

  • Committer: Patch Queue Manager
  • Date: 2011-12-21 21:56:31 UTC
  • mfrom: (6393.2.4 907268-bazaar-DEFAULT)
  • Revision ID: pqm@pqm.ubuntu.com-20111221215631-coxvalt3phw8jaza
(vila) bzr config displays [DEFAULT] for bazaar.conf (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
        script.run_script(self, '''\
80
80
            $ bzr config -d tree
81
81
            bazaar:
 
82
              [DEFAULT]
82
83
              multiline = """1
83
84
            2
84
85
            """
101
102
        script.run_script(self, '''\
102
103
            $ bzr config -d tree
103
104
            bazaar:
 
105
              [DEFAULT]
104
106
              list = 1, a, "with, a comma"
105
107
            ''')
106
108
 
118
120
        script.run_script(self, '''\
119
121
            $ bzr config -d tree
120
122
            bazaar:
 
123
              [DEFAULT]
121
124
              hello = world
122
125
            ''')
123
126
 
139
142
        script.run_script(self, '''\
140
143
            $ bzr config
141
144
            bazaar:
 
145
              [DEFAULT]
142
146
              hello = world
143
147
            ''')
144
148
 
214
218
            $ bzr config --scope bazaar hello=world
215
219
            $ bzr config -d tree --all hello
216
220
            bazaar:
 
221
              [DEFAULT]
217
222
              hello = world
218
223
            ''')
219
224
 
222
227
            $ bzr config -d tree --scope bazaar hello=world
223
228
            $ bzr config -d tree --all hello
224
229
            bazaar:
 
230
              [DEFAULT]
225
231
              hello = world
226
232
            ''')
227
233
 
290
296
            branch:
291
297
              file = branch
292
298
            bazaar:
 
299
              [DEFAULT]
293
300
              file = bazaar
294
301
            ''')
295
302
 
300
307
            branch:
301
308
              file = branch
302
309
            bazaar:
 
310
              [DEFAULT]
303
311
              file = bazaar
304
312
            ''')
305
313
        script.run_script(self, '''\
306
314
            $ bzr config -d tree --remove file
307
315
            $ bzr config -d tree --all file
308
316
            bazaar:
 
317
              [DEFAULT]
309
318
              file = bazaar
310
319
            ''')
311
320
 
317
326
              [.../work/tree]
318
327
              file = locations
319
328
            bazaar:
 
329
              [DEFAULT]
320
330
              file = bazaar
321
331
            ''')
322
332
        script.run_script(self, '''\
323
333
            $ bzr config -d tree --scope locations --remove file
324
334
            $ bzr config -d tree --all file
325
335
            bazaar:
 
336
              [DEFAULT]
326
337
              file = bazaar
327
338
            ''')
328
339