~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Aaron Bentley
  • Date: 2007-07-13 06:10:29 UTC
  • mfrom: (2616 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2617.
  • Revision ID: aaron.bentley@utoronto.ca-20070713061029-9ebz58a3yvvax5du
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
836
836
        candidates = w.get_ancestry(revision_id, topo_sorted)
837
837
        return [None] + candidates # self._eliminate_revisions_not_present(candidates)
838
838
 
 
839
    def pack(self):
 
840
        """Compress the data within the repository.
 
841
 
 
842
        This operation only makes sense for some repository types. For other
 
843
        types it should be a no-op that just returns.
 
844
 
 
845
        This stub method does not require a lock, but subclasses should use
 
846
        @needs_write_lock as this is a long running call its reasonable to 
 
847
        implicitly lock for the user.
 
848
        """
 
849
 
839
850
    @needs_read_lock
840
851
    def print_file(self, file, revision_id):
841
852
        """Print `file` to stdout.