~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/weaverepo.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-03-03 06:02:49 UTC
  • mfrom: (5672.1.7 branch-revs-to-fetch)
  • Revision ID: pqm@pqm.ubuntu.com-20110303060249-l2zou9i59742nrqf
(spiv) Add Branch.heads_to_fetch API and HPSS request. (Andrew Bennetts)

Show diffs side-by-side

added added

removed removed

Lines of Context:
277
277
    _fetch_order = 'topological'
278
278
    _fetch_reconcile = True
279
279
    fast_deltas = False
 
280
    supports_leaving_lock = False
280
281
 
281
282
    def initialize(self, a_bzrdir, shared=False, _internal=False):
282
283
        """Create a weave repository."""
328
329
        result.chk_bytes = None
329
330
        return result
330
331
 
 
332
    def is_deprecated(self):
 
333
        return True
 
334
 
331
335
 
332
336
class RepositoryFormat4(PreSplitOutRepositoryFormat):
333
337
    """Bzr repository format 4.
572
576
        result._transport = repo_transport
573
577
        return result
574
578
 
 
579
    def is_deprecated(self):
 
580
        return True
 
581
 
575
582
 
576
583
class TextVersionedFiles(VersionedFiles):
577
584
    """Just-a-bunch-of-files based VersionedFile stores."""
860
867
 
861
868
 
862
869
InterRepository.register_optimiser(InterWeaveRepo)
 
870
 
 
871
 
 
872
def get_extra_interrepo_test_combinations():
 
873
    from bzrlib.repofmt import knitrepo
 
874
    return [(InterRepository, RepositoryFormat5(),
 
875
        knitrepo.RepositoryFormatKnit3())]