/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/knitrepo.py

  • Committer: mbp at sourcefrog
  • Date: 2011-04-11 01:23:58 UTC
  • mfrom: (5777 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5802.
  • Revision ID: mbp@sourcefrog.net-20110411012358-gl07rdtxydlq7fh1
merge news

Show diffs side-by-side

added added

removed removed

Lines of Context:
263
263
            raise errors.BzrCheckError(
264
264
                "Revision knit has inconsistent parents.")
265
265
 
266
 
    def revision_graph_can_have_wrong_parents(self):
267
 
        # The revision.kndx could potentially claim a revision has a different
268
 
        # parent to the revision text.
269
 
        return True
270
 
 
271
266
 
272
267
class RepositoryFormatKnit(MetaDirRepositoryFormat):
273
268
    """Bzr repository knit format (generalized).
306
301
    fast_deltas = False
307
302
    supports_funky_characters = True
308
303
    supports_full_versioned_files = True
 
304
    # The revision.kndx could potentially claim a revision has a different
 
305
    # parent to the revision text.
 
306
    revision_graph_can_have_wrong_parents = True
309
307
 
310
308
    def _get_inventories(self, repo_transport, repo, name='inventory'):
311
309
        mapper = versionedfile.ConstantMapper(name)