~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: 2007-07-12 13:35:54 UTC
  • mfrom: (2604.2.1 pack)
  • Revision ID: pqm@pqm.ubuntu.com-20070712133554-r8me4pz4j68p2ytf
(robertc) Introduce a pack command.

Show diffs side-by-side

added added

removed removed

Lines of Context:
633
633
        # TODO: Suggestion from john: using external tar is much faster than
634
634
        # python's tarfile library, but it may not work on windows.
635
635
 
 
636
    @needs_write_lock
 
637
    def pack(self):
 
638
        """Compress the data within the repository.
 
639
 
 
640
        This is not currently implemented within the smart server.
 
641
        """
 
642
        self._ensure_real()
 
643
        return self._real_repository.pack()
 
644
 
636
645
    def set_make_working_trees(self, new_value):
637
646
        raise NotImplementedError(self.set_make_working_trees)
638
647