~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2006-07-03 13:48:52 UTC
  • mfrom: (1835 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1836.
  • Revision ID: john@arbash-meinel.com-20060703134852-295eeb195b8e2811
[merge] bzr.dev 1835

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):