~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/blackbox.py

  • Committer: Martin Pool
  • Date: 2005-07-16 00:07:40 UTC
  • mfrom: (909.1.5)
  • Revision ID: mbp@sourcefrog.net-20050716000740-f2dcb8894a23fd2d
- merge aaron's bugfix branch
  up to abentley@panoramicfeedback.com-20050715134354-78f2bca607acb415

Show diffs side-by-side

added added

removed removed

Lines of Context:
285
285
 
286
286
        runbzr('log')
287
287
        runbzr('log -v')
288
 
 
 
288
        runbzr('log -v --forward')
 
289
        runbzr('log -m', retcode=1)
 
290
        log_out = backtick('bzr log -m commit')
 
291
        assert "this is my new commit" in log_out
 
292
        assert "rename nested" not in log_out
 
293
        assert 'revision-id' not in log_out
 
294
        assert 'revision-id' in backtick('bzr log --show-ids -m commit')
289
295
 
290
296
 
291
297
        progress("file with spaces in name")
316
322
        # Can't create a branch if its parent doesn't exist
317
323
        runbzr('branch /unlikely/to/exist', retcode=1)
318
324
        runbzr('branch branch1 branch2')
 
325
        assert exists('branch2')
 
326
        assert exists('branch2/sub1')
 
327
        assert exists('branch2/sub1/hello.txt')
 
328
        
 
329
        runbzr('branch --revision 0 branch1 branch3')
 
330
        assert not exists('branch3/sub1/hello.txt')
 
331
        runbzr('branch --revision 0..3 branch1 branch4', retcode=1)
319
332
 
320
333
        progress("pull")
321
334
        chdir('branch1')