~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/weaverepo.py

  • Committer: Andrew Bennetts
  • Date: 2008-08-07 00:25:38 UTC
  • mfrom: (3612 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3613.
  • Revision ID: andrew.bennetts@canonical.com-20080807002538-mtl1fcgy2fdabha4
Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
            self.inventory_store = get_store('inventory-store')
86
86
            self._text_store = get_store('text-store')
87
87
        super(AllInOneRepository, self).__init__(_format, a_bzrdir, a_bzrdir._control_files)
 
88
        self._fetch_order = 'topological'
 
89
        self._fetch_reconcile = True
88
90
 
89
91
    @needs_read_lock
90
92
    def _all_possible_ids(self):
146
148
        return self.inventories.add_lines((revision_id,), final_parents, lines,
147
149
            check_content=check_content)[0]
148
150
 
149
 
    @needs_read_lock
150
151
    def is_shared(self):
151
152
        """AllInOne repositories cannot be shared."""
152
153
        return False
178
179
 
179
180
    _serializer = xml5.serializer_v5
180
181
 
 
182
    def __init__(self, _format, a_bzrdir, control_files):
 
183
        super(WeaveMetaDirRepository, self).__init__(_format, a_bzrdir, control_files)
 
184
        self._fetch_order = 'topological'
 
185
        self._fetch_reconcile = True
 
186
 
181
187
    @needs_read_lock
182
188
    def _all_possible_ids(self):
183
189
        """Return all the possible revisions that we could find."""
317
323
 
318
324
    def __init__(self):
319
325
        super(RepositoryFormat4, self).__init__()
 
326
        self._fetch_order = 'topological'
 
327
        self._fetch_reconcile = True
320
328
 
321
329
    def get_format_description(self):
322
330
        """See RepositoryFormat.get_format_description()."""
368
376
 
369
377
    def __init__(self):
370
378
        super(RepositoryFormat5, self).__init__()
 
379
        self._fetch_order = 'topological'
 
380
        self._fetch_reconcile = True
371
381
 
372
382
    def get_format_description(self):
373
383
        """See RepositoryFormat.get_format_description()."""
410
420
 
411
421
    def __init__(self):
412
422
        super(RepositoryFormat6, self).__init__()
 
423
        self._fetch_order = 'topological'
 
424
        self._fetch_reconcile = True
413
425
 
414
426
    def get_format_description(self):
415
427
        """See RepositoryFormat.get_format_description()."""