~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-05-21 13:36:51 UTC
  • mfrom: (5243.2.1 readdir_cleanup)
  • Revision ID: pqm@pqm.ubuntu.com-20100521133651-p62dndo2giy5ls21
(lifeless) Some cleanups to the readdir pyrex code for a little efficiency
 and to avoid compile warnings. (John A Meinel)

Show diffs side-by-side

added added

removed removed

Lines of Context:
65
65
 
66
66
    def test_checkout_dash_r(self):
67
67
        out, err = self.run_bzr(['checkout', '-r', '-2', 'branch', 'checkout'])
68
 
        self.assertContainsRe(out, 'Copying history to "checkout".')
69
68
        # the working tree should now be at revision '1' with the content
70
69
        # from 1.
71
70
        result = bzrdir.BzrDir.open('checkout')
75
74
    def test_checkout_light_dash_r(self):
76
75
        out, err = self.run_bzr(['checkout','--lightweight', '-r', '-2',
77
76
            'branch', 'checkout'])
78
 
        self.assertNotContainsRe(out, 'Copying history')
79
77
        # the working tree should now be at revision '1' with the content
80
78
        # from 1.
81
79
        result = bzrdir.BzrDir.open('checkout')