/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/smart/repository.py

Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
412
412
        pack = ContainerSerialiser()
413
413
        buffer.write(pack.begin())
414
414
        try:
415
 
            try:
416
 
                for name_tuple, bytes in stream:
417
 
                    buffer.write(pack.bytes_record(bytes, [name_tuple]))
418
 
            except:
419
 
                # Undo the lock_read that happens once the iterator from
420
 
                # get_data_stream is started.
421
 
                repository.unlock()
422
 
                raise
 
415
            for name_tuple, bytes in stream:
 
416
                buffer.write(pack.bytes_record(bytes, [name_tuple]))
423
417
        except errors.RevisionNotPresent, e:
424
418
            return FailedSmartServerResponse(('NoSuchRevision', e.revision_id))
425
419
        buffer.write(pack.end())