~dylanmccall/bzr/test_minimal_conflicts_with_offset

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_workingtree/test_executable.py

(jam) Add per_workingtree test scenario for a lightweight checkout of
        a RemoteRepository (bug #1046697) and cleanup all associated fallout.

Show diffs side-by-side

added added

removed removed

Lines of Context:
71
71
        self.wt.commit('adding a,b', rev_id='r1')
72
72
        # Now make sure that 'bzr branch' also preserves the
73
73
        # executable bit
74
 
        # TODO: Maybe this should be a blackbox test
75
 
        dir2 = self.wt.branch.bzrdir.clone('b2', revision_id='r1')
 
74
        dir2 = self.wt.branch.bzrdir.sprout('b2', revision_id='r1')
76
75
        wt2 = dir2.open_workingtree()
77
76
        self.assertEqual(['r1'], wt2.get_parent_ids())
78
77
        self.assertEqual('r1', wt2.branch.last_revision())