~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Martin Pool
  • Date: 2009-12-22 06:20:02 UTC
  • mto: This revision was merged to the branch mainline in revision 4923.
  • Revision ID: mbp@sourcefrog.net-20091222062002-heoq9b78jamqwxed
Update test_update_dash_r_in_master for ui changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
308
308
        master.commit('two', rev_id='m2')
309
309
 
310
310
        os.chdir('checkout')
311
 
        out, err = self.run_bzr('update -r revid:m2')
312
 
        self.assertEqual('', out)
313
 
        self.assertEqual('+N  file2\nAll changes applied successfully.\n'
314
 
                         'Updated to revision 2.\n', err)
 
311
        sr = ScriptRunner()
 
312
        sr.run_script(self, '''
 
313
$ bzr update -r revid:m2
 
314
2>+N  file2
 
315
2>All changes applied successfully.
 
316
2>Updated to revision 2 of branch .../master
 
317
''')