~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/branch_implementations/test_branch.py

(robertc) Deprecate WorkingTree.pending_merges.

Show diffs side-by-side

added added

removed removed

Lines of Context:
164
164
        repo_b = self.make_repository('b')
165
165
        wt_a.bzrdir.open_repository().copy_content_into(repo_b)
166
166
        br_b = wt_a.bzrdir.open_branch().clone(repo_b.bzrdir, revision_id='1')
167
 
        self.assertEqual(br_b.last_revision(), '1')
 
167
        self.assertEqual('1', br_b.last_revision())
168
168
 
169
169
    def test_sprout_partial(self):
170
170
        # test sprouting with a prefix of the revision-history.
179
179
        repo_b = self.make_repository('b')
180
180
        wt_a.bzrdir.open_repository().copy_content_into(repo_b)
181
181
        br_b = wt_a.bzrdir.open_branch().sprout(repo_b.bzrdir, revision_id='1')
182
 
        self.assertEqual(br_b.last_revision(), '1')
 
182
        self.assertEqual('1', br_b.last_revision())
183
183
 
184
184
    def get_parented_branch(self):
185
185
        wt_a = self.make_branch_and_tree('a')