~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Martin Pool
  • Date: 2009-07-17 10:38:41 UTC
  • mfrom: (4536 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4558.
  • Revision ID: mbp@sourcefrog.net-20090717103841-z35onk04bkiw7zb6
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
566
566
        return self._creating_repo._real_repository._format.network_name()
567
567
 
568
568
    @property
 
569
    def pack_compresses(self):
 
570
        self._ensure_real()
 
571
        return self._custom_format.pack_compresses
 
572
 
 
573
    @property
569
574
    def _serializer(self):
570
575
        self._ensure_real()
571
576
        return self._custom_format._serializer
718
723
        invocation. If in doubt chat to the bzr network team.
719
724
        """
720
725
        if self._real_repository is None:
721
 
            if 'hpss' in debug.debug_flags:
 
726
            if 'hpssvfs' in debug.debug_flags:
722
727
                import traceback
723
728
                warning('VFS Repository access triggered\n%s',
724
729
                    ''.join(traceback.format_stack()))
1491
1496
        return self._real_repository.inventories
1492
1497
 
1493
1498
    @needs_write_lock
1494
 
    def pack(self):
 
1499
    def pack(self, hint=None):
1495
1500
        """Compress the data within the repository.
1496
1501
 
1497
1502
        This is not currently implemented within the smart server.
1498
1503
        """
1499
1504
        self._ensure_real()
1500
 
        return self._real_repository.pack()
 
1505
        return self._real_repository.pack(hint=hint)
1501
1506
 
1502
1507
    @property
1503
1508
    def revisions(self):
1924
1929
        self._ensure_real()
1925
1930
        return self._custom_format.supports_stacking()
1926
1931
 
 
1932
    def supports_set_append_revisions_only(self):
 
1933
        self._ensure_real()
 
1934
        return self._custom_format.supports_set_append_revisions_only()
 
1935
 
1927
1936
 
1928
1937
class RemoteBranch(branch.Branch, _RpcHelper):
1929
1938
    """Branch stored on a server accessed by HPSS RPC.