~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: 2009-04-06 02:47:30 UTC
  • mfrom: (4253.2.1 ianc-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090406024730-9559ntr7fvmgug6r
(ianc) chk_bytes on remote repos (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
637
637
        return self._real_repository.abort_write_group(
638
638
            suppress_errors=suppress_errors)
639
639
 
 
640
    @property
 
641
    def chk_bytes(self):
 
642
        """Decorate the real repository for now.
 
643
 
 
644
        In the long term a full blown network facility is needed to avoid
 
645
        creating a real repository object locally.
 
646
        """
 
647
        self._ensure_real()
 
648
        return self._real_repository.chk_bytes
 
649
 
640
650
    def commit_write_group(self):
641
651
        """Complete a write group on the decorated repository.
642
652