~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/controldir.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-05-18 10:55:12 UTC
  • mfrom: (5887.1.1 trivial_close_earlier)
  • Revision ID: pqm@pqm.ubuntu.com-20110518105512-8rhaqw4g6a8pnjuo
(jameinel) Close file objects a bit earlier in _seek_and_read. Helps PyPy's
 lazy collector. (Martin [gz])

Show diffs side-by-side

added added

removed removed

Lines of Context:
226
226
        get at a repository.
227
227
 
228
228
        :param _unsupported: a private parameter, not part of the api.
229
 
 
230
229
        TODO: static convenience version of this?
231
230
        """
232
231
        raise NotImplementedError(self.open_repository)
315
314
        whether one existed before or not; and a local branch is always
316
315
        created.
317
316
 
318
 
        :param revision_id: if revision_id is not None, then the clone
319
 
            operation may tune itself to download less data.
 
317
        if revision_id is not None, then the clone operation may tune
 
318
            itself to download less data.
320
319
        :param accelerator_tree: A tree which can be used for retrieving file
321
320
            contents more quickly than the revision tree, i.e. a workingtree.
322
321
            The revision tree will be used for cases where accelerator_tree's