~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Robert Collins
  • Date: 2009-02-24 05:37:17 UTC
  • mto: This revision was merged to the branch mainline in revision 4038.
  • Revision ID: robertc@robertcollins.net-20090224053717-sau62hnxgo2f1pzr
Create and use a RPC call to create branches on bzr servers rather than using VFS calls.

Show diffs side-by-side

added added

removed removed

Lines of Context:
68
68
        # when up to date we should get a message to that effect
69
69
        (out, err) = self.run_bzr('upgrade current_format_branch', retcode=3)
70
70
        self.assertEqual("", out)
71
 
        self.assertEqualDiff("bzr: ERROR: The branch format Bazaar-NG meta "
72
 
                             "directory, format 1 is already at the most "
 
71
        self.assertEqualDiff("bzr: ERROR: The branch format Meta "
 
72
                             "directory format 1 is already at the most "
73
73
                             "recent format.\n", err)
74
74
 
75
75
    def test_upgrade_up_to_date_checkout_warns_branch_left_alone(self):
81
81
                         "upgraded separately.\n"
82
82
                         % get_transport(self.get_url('current_format_branch')).base,
83
83
                         out)
84
 
        self.assertEqualDiff("bzr: ERROR: The branch format Bazaar-NG meta "
85
 
                             "directory, format 1 is already at the most "
 
84
        self.assertEqualDiff("bzr: ERROR: The branch format Meta "
 
85
                             "directory format 1 is already at the most "
86
86
                             "recent format.\n", err)
87
87
 
88
88
    def test_upgrade_checkout(self):