~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-03-08 23:52:59 UTC
  • mfrom: (5684.2.6 per-repository-vf)
  • Revision ID: pqm@pqm.ubuntu.com-20110308235259-6yxq3x7vy60tfta3
(jelmer) Move some tests that rely on the full VersionedFiles API to
 bzrlib.tests.per_repository_vf. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
486
486
    """
487
487
 
488
488
    _matchingbzrdir = RemoteBzrDirFormat()
 
489
    supports_full_versioned_files = True
 
490
    supports_leaving_lock = True
489
491
 
490
492
    def __init__(self):
491
493
        repository.RepositoryFormat.__init__(self)
495
497
        self._supports_chks = None
496
498
        self._supports_external_lookups = None
497
499
        self._supports_tree_reference = None
 
500
        self._supports_funky_characters = None
498
501
        self._rich_root_data = None
499
502
 
500
503
    def __repr__(self):
529
532
        return self._supports_external_lookups
530
533
 
531
534
    @property
 
535
    def supports_funky_characters(self):
 
536
        if self._supports_funky_characters is None:
 
537
            self._ensure_real()
 
538
            self._supports_funky_characters = \
 
539
                self._custom_format.supports_funky_characters
 
540
        return self._supports_funky_characters
 
541
 
 
542
    @property
532
543
    def supports_tree_reference(self):
533
544
        if self._supports_tree_reference is None:
534
545
            self._ensure_real()