~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/selftest/blackbox.py

[merge] robert

Show diffs side-by-side

added added

removed removed

Lines of Context:
400
400
        self.runbzr('commit -m blah2 --unchanged')
401
401
        os.chdir('../b')
402
402
        self.runbzr('commit -m blah3 --unchanged')
 
403
        # no clobber
403
404
        self.runbzr('pull ../a', retcode=1)
 
405
        os.chdir('..')
 
406
        self.runbzr('branch b clobberme')
 
407
        os.chdir('clobberme')
 
408
        self.runbzr('pull --clobber ../a')
 
409
        clobbered = Branch.open('.')
 
410
        self.assertEqual(clobbered.revision_history(),
 
411
                         a.revision_history())
404
412
        os.chdir('../a')
405
413
        self.runbzr('merge ../b')
406
414
        self.runbzr('commit -m blah4 --unchanged')