Best method to pull *fast*?

Ali Sabil ali.sabil at gmail.com
Tue Jan 19 15:43:23 GMT 2010


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.

Ali



More information about the bazaar mailing list