~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/smart/repository.py

  • Committer: Andrew Bennetts
  • Date: 2007-07-04 00:58:02 UTC
  • mto: (2535.4.4 streaming-smart-fetch)
  • mto: This revision was merged to the branch mainline in revision 2906.
  • Revision ID: andrew.bennetts@canonical.com-20070704005802-iq3an8f1i8lgg3nw
Add a first cut of a get_data_stream method to Repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
239
239
            tarball.add(dirname, '.bzr') # recursive by default
240
240
        finally:
241
241
            tarball.close()
 
242
 
 
243
 
 
244
#class SmartServerRepositoryFetchRevisions(SmartServerRepositoryRequest)
 
245
#
 
246
#    def do_repository_request(self, repository, *revision_ids):
 
247
#        stream = repository.get_data_stream(revision_ids)
 
248
#        return SuccessfulSmartServerResponse((),