~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/inter.py

  • Committer: Martin Pool
  • Date: 2007-02-06 06:27:24 UTC
  • mto: This revision was merged to the branch mainline in revision 2283.
  • Revision ID: mbp@sourcefrog.net-20070206062724-a5uo1u27jxsal2t0
Moved old weave-based repository formats into bzrlib.repofmt.weaverepo.

Change help for --format to just say 'see help formats'

RepositoryFormat.register_metadir gains an optional parameter for the
module name containing the repository format, and lazily loads from there.

Disable test_interrepository_get_returns_correct_optimiser, because it
seems too brittle.

Remove InterWeaveRepo, these should now just be upgraded.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
    lock_read, lock_write, unlock, then the InterObject's lock_read,
35
35
    lock_write and unlock methods may be used (optionally in conjunction with
36
36
    the needs_read_lock and needs_write_lock decorators.)
 
37
 
 
38
    When looking for an inter, the most recently registered types are tested
 
39
    first.  So typically the most generic and slowest InterObjects should be
 
40
    registered first.
37
41
    """
38
42
 
39
43
    # _optimisers = list()