~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 2305.2.1.

  • Committer: Andrew Bennetts
  • Date: 2007-03-01 03:58:39 UTC
  • mto: (2018.5.84 hpss)
  • mto: This revision was merged to the branch mainline in revision 2406.
  • Revision ID: andrew.bennetts@canonical.com-20070301035839-mgsenxqgx4oveeob
Use repo.supports_rich_root() everywhere rather than
repo._format.rich_root_data.

This is needed for the smart server work, because a RemoteRepository's _format
doesn't know whether or not the actual repository supports rich root data or
not.  But the RemoteRepository does (by asking the underlying repository it is
connected to).

This also removes some unnecessary isinstance(..., Repository), which also
hinders smart server work, because RemoteRepository doesn't inherit from
Repository, even though it implements the same interface.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: