~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-07-03 13:35:59 UTC
  • mfrom: (1830.1.1 update-fix)
  • Revision ID: pqm@pqm.ubuntu.com-20060703133559-5c53e21b2a358b84
(jam) Print up to date even if bound, also always print out current revno.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
    def test_update_standalone_trivial(self):
30
30
        self.runbzr("init")
31
31
        out, err = self.runbzr('update')
32
 
        self.assertEqual('Tree is up to date.\n', err)
 
32
        self.assertEqual('Tree is up to date at revision 0.\n', err)
33
33
        self.assertEqual('', out)
34
34
 
35
35
    def test_update_up_to_date_light_checkout(self):
36
36
        self.make_branch_and_tree('branch')
37
37
        self.runbzr('checkout --lightweight branch checkout')
38
38
        out, err = self.runbzr('update checkout')
39
 
        self.assertEqual('Tree is up to date.\n', err)
 
39
        self.assertEqual('Tree is up to date at revision 0.\n', err)
 
40
        self.assertEqual('', out)
 
41
 
 
42
    def test_update_up_to_date_checkout(self):
 
43
        self.make_branch_and_tree('branch')
 
44
        self.run_bzr('checkout', 'branch', 'checkout')
 
45
        out, err = self.run_bzr('update', 'checkout')
 
46
        self.assertEqual('Tree is up to date at revision 0.\n', err)
40
47
        self.assertEqual('', out)
41
48
 
42
49
    def test_update_out_of_date_standalone_tree(self):