"bzr push" uploads 1-2 MB just to send a one-line change revision
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hello. So I did this on my local machine:
bzr branch bzr+ssh:
Branched 2641 revision(s).
cd mysql-maria-old/
xemacs README
bzr diff
=== modified file 'README'
--- README 2008-07-11 15:06:54 +0000
+++ README 2008-07-11 15:18:02 +0000
@@ -1,4 +1,4 @@
-test for bzr 2
+test for bzr 3
This is a release of MySQL, a dual-license SQL database server.
MySQL is brought to you by the MySQL team at MySQL AB.
bzr commit --message=
Committing to: /home/mysql_
modified README
Committed revision 2642.
bzr push bzr+ssh:
Pushed up to revision 2642.
Before doing the "bzr push" above, I made sure to shut down all non-bzr network activity on my machine (IRC, mail, etc).
I could see, both with tcpdump (where I can grep for packets sent to some_mysql.com, which are 100%-sure due to the "bzr push"), and with iptraf (which tells the overall traffic over eth0), that "bzr push" consumed 749 KBytes over the network (700 KB incoming + 49KB outgoing).
Then I did another change:
=== modified file 'README'
--- README 2008-07-11 15:18:32 +0000
+++ README 2008-07-11 15:25:51 +0000
@@ -1,4 +1,4 @@
-test for bzr 3
+test for bzr 4
and commit and push, and this push transferred 2MB this time (80 KB outgoing).
That sounds strange. This was a major problem for a colleague on a very slow line who just wanted to push a small patch.
Related branches
tags: | added: hpss |
tags: | added: push |
Changed in bzr: | |
status: | Fix Released → Incomplete |
It does sound strange to have 1 or 2MB transferred over the network to push a one-byte diff.
Shouldn't the system be able to just send the diff (as well as a bit of meta-data: date, committed, whatever), that is, 1kB or so?