/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

  • Committer: Andrew Bennetts
  • Date: 2008-11-27 23:08:08 UTC
  • mto: This revision was merged to the branch mainline in revision 3868.
  • Revision ID: andrew.bennetts@canonical.com-20081127230808-t0n6k0tvxrt32bkt
Add some comments to fetch.py

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
        """Create a repo fetcher.
82
82
 
83
83
        :param find_ghosts: If True search the entire history for ghosts.
 
84
        :param _write_group_acquired_callable: Don't use; this parameter only
 
85
            exists to facilitate a hack done in InterPackRepo.fetch.  We would
 
86
            like to remove this parameter.
84
87
        """
85
88
        # result variables.
86
89
        self.failed_revisions = []
109
112
                self.to_repository.start_write_group()
110
113
                try:
111
114
                    if self._write_group_acquired_callable is not None:
 
115
                        # Used by InterPackRepo.fetch to set_write_cache_size
 
116
                        # on the new pack.
112
117
                        self._write_group_acquired_callable()
113
118
                    self.__fetch()
114
119
                except: