Best method to pull *fast*?
B Smith-Mannschott
bsmith.occs at gmail.com
Tue Jan 19 16:47:13 GMT 2010
On Tue, Jan 19, 2010 at 16:43, Ali Sabil <ali.sabil at gmail.com> wrote:
> On Tue, Jan 19, 2010 at 4:37 PM, Torsten Bronger
> <bronger at physik.rwth-aachen.de> wrote:
>> Hallöchen!
>>
>> Ali Sabil writes:
>>
>>> On Tue, Jan 19, 2010 at 12:07 PM, Torsten Bronger
>>> <bronger at physik.rwth-aachen.de> wrote:
>>>
>>>> I stay up-to-date with CVS Emacs by pulling from the inofficial
>>>> Bzaar branch. I don't contribute, I just want to synchronise
>>>> unidirectionally. However, an ordinary "pull" generates 140
>>>> times more network traffic than bytes changed on the disk. In
>>>> one case, I had a diff which was 500 kB big, but "bzr pull"
>>>> reported to have transmitted 80 MB.
>>>>
>>>> [...]
>>>>
>>>> Is there a faster way?
>>>>
>>>
>>> Did you try to use the launchpad mirror (bzr pull lp:emacs) ?
>>
>> No, but thanks for the hint. I switch to the Launchpad branch now.
>>
>> However, the oddity remains. Branching from a revision of mid
>> November, a following "bzr pull" takes 3.5 minutes, transmitting 92
>> MB of data. However, "diff" produces a diff file which is only 1.7
>> MB big. I understand that "bzr pull" has some overhead, but two
>> orders of magnitude are hefty.
>>
>
> In order to get good performance with launchpad you actually need to
> register an account and then use "bzr lp-login [username]" before
> using "bzr pull lp:emacs" to use the bzr+ssh transport instead of the
> dumb http transport.
This [1] document makes it sound like smart server works over http.
[1] http://wiki.bazaar.canonical.com/Specs/SmartServer
Is it obsolete?
I do have a launchpad ID, but didn't know about the usefulness of the
bzr lp-login incanatation. (being something of a newbie) thanks for
the tip!
// Ben
More information about the bazaar
mailing list