~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/weaverepo.py

  • Committer: Robert Collins
  • Date: 2007-10-17 09:39:41 UTC
  • mfrom: (2911 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2933.
  • Revision ID: robertc@robertcollins.net-20071017093941-v7d1djrt2617citb
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
197
197
        """Returns the policy for making working trees on new branches."""
198
198
        return True
199
199
 
 
200
    def revision_graph_can_have_wrong_parents(self):
 
201
        # XXX: This is an old format that we don't support full checking on, so
 
202
        # just claim that checking for this inconsistency is not required.
 
203
        return False
 
204
 
200
205
 
201
206
class WeaveMetaDirRepository(MetaDirRepository):
202
207
    """A subclass of MetaDirRepository to set weave specific policy."""
303
308
                        pending.add(revision_id)
304
309
            return result
305
310
 
 
311
    def revision_graph_can_have_wrong_parents(self):
 
312
        # XXX: This is an old format that we don't support full checking on, so
 
313
        # just claim that checking for this inconsistency is not required.
 
314
        return False
 
315
 
306
316
 
307
317
class PreSplitOutRepositoryFormat(RepositoryFormat):
308
318
    """Base class for the pre split out repository formats."""
496
506
        """See RepositoryFormat._get_text_store()."""
497
507
        return self._get_versioned_file_store('weaves', transport, control_files)
498
508
 
499
 
 
500
509
class RepositoryFormat7(MetaDirRepositoryFormat):
501
510
    """Bzr repository 7.
502
511