~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/branch_implementations/test_sprout.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:
70
70
            # did the right thing.
71
71
            target._ensure_real()
72
72
            target = target._real_branch
 
73
        if isinstance(result_format, remote.RemoteBranchFormat):
 
74
            # Unwrap a parameterised RemoteBranchFormat for comparison.
 
75
            result_format = result_format._custom_format
73
76
        self.assertIs(result_format.__class__, target._format.__class__)
74
77
 
75
78
    def test_sprout_partial(self):