huge download during commit

Asked by Tom Eugelink

I've been using BZR on a number of my projects for some time now, and overall I'm very pleased. However, every now and then (like now) when I commit a few kb worth of source files, BZR (via TortoiseBZR) downloads a huge amount of data. Right now it has downloaded 140MB and it still going strong. Why does BZR do that?

Question information

Language:
English Edit question
Status:
Answered
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
John A Meinel (jameinel) said :
#1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/12/2012 8:15 PM, Tom Eugelink wrote:
> New question #214000 on Bazaar:
> https://answers.launchpad.net/bzr/+question/214000
>
> I've been using BZR on a number of my projects for some time now,
> and overall I'm very pleased. However, every now and then (like
> now) when I commit a few kb worth of source files, BZR (via
> TortoiseBZR) downloads a huge amount of data. Right now it has
> downloaded 140MB and it still going strong. Why does BZR do that?
>
>

I don't know the specifics of your situation, but my guess is that you
are using bzr over a simple file transport (such as ftp/sftp/etc).

To maintain efficiency, periodically bzr compacts the repository,
combining groups of small files into a larger file. If you are doing
so using 'bzr+ssh' the process will be done on the remote side by the
remote bzr process. However, on any of the systems like ftp/sftp/etc
there is no process on the remote side. So we have to download the
contents locally, rebuild it, and upload it back.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Cygwin)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCh9CoACgkQJdeBCYSNAAOE5wCeLoUBf+4RCgkQdr/z4c36lHW3
MXMAn2LbAqDTL7f5El9dJrBdpeC7AxwC
=Cqyr
-----END PGP SIGNATURE-----

Revision history for this message
Tom Eugelink (tbee) said :
#2

Ok. I'm using sftp, so your guess is correct. So the original question is answered, but it immediately spawns a logical followup question: the way to get arround this is use some kind of bzr daemon?

Revision history for this message
John A Meinel (jameinel) said :
#3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/13/2012 12:11 PM, Tom Eugelink wrote:
> Question #214000 on Bazaar changed:
> https://answers.launchpad.net/bzr/+question/214000
>
> Status: Answered => Open
>
> Tom Eugelink is still having a problem: Ok. I'm using sftp, so your
> guess is correct. So the original question is answered, but it
> immediately spawns a logical followup question: the way to get
> arround this is use some kind of bzr daemon?
>

If you can install 'bzr' the program on the remote machine, then you
can access your content as:

  bzr+ssh://remote.host/path/to/branch

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (Cygwin)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCiChoACgkQJdeBCYSNAAN3iwCfbqXs3Yjhuy18uE0iMfoVq+iP
ypcAoLmw/WEzI7BoZEYWCwK9H1AYvZxs
=qwmu
-----END PGP SIGNATURE-----

Can you help with this problem?

Provide an answer of your own, or ask Tom Eugelink for more information if necessary.

To post a message you must log in.