/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/annotate.py

Better connection sharing by using only one curl object.

* bzrlib/transport/http/_pycurl.py:
(PyCurlTransport.__init__, PyCurlTransport.has,
PyCurlTransport._get_full): Use only one curl object.
(PyCurlTransport._get_ranged): Use only one curl object. Specify
'Range' as an additional header.
(PyCurlTransport._curl_perform): Take additional headers into
account.
(PyCurlTransport._set_curl_options): Leave _perform do the header
setting.
(PyCurlTransport._curl_perform): Set all headers just before
issuing the request.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
# e.g. "3:12 Tue", "13 Oct", "Oct 2005", etc.  
27
27
 
28
28
import sys
29
 
import os
30
29
import time
31
30
 
32
 
import bzrlib.weave
33
31
from bzrlib.config import extract_email_address
34
32
from bzrlib.errors import BzrError
35
33