~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Robert Collins
  • Date: 2007-07-12 12:07:13 UTC
  • mto: This revision was merged to the branch mainline in revision 2610.
  • Revision ID: robertc@robertcollins.net-20070712120713-c2vfm2n61l63wt6s
(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