~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-12-01 23:50:52 UTC
  • mfrom: (3834.5.4 sprout_matching_bzrdir)
  • Revision ID: pqm@pqm.ubuntu.com-20081201235052-tlg1kksgj0kuya56
(jam) branch_format._matching_bzrdir.branch_format should always
        match.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1279
1279
 
1280
1280
class RemoteBranchFormat(branch.BranchFormat):
1281
1281
 
 
1282
    def __init__(self):
 
1283
        super(RemoteBranchFormat, self).__init__()
 
1284
        self._matchingbzrdir = RemoteBzrDirFormat()
 
1285
        self._matchingbzrdir.set_branch_format(self)
 
1286
 
1282
1287
    def __eq__(self, other):
1283
1288
        return (isinstance(other, RemoteBranchFormat) and 
1284
1289
            self.__dict__ == other.__dict__)