[Bug 82305] Re: push and pull on bound branches use too much network
Jelmer Vernooij
82305 at bugs.launchpad.net
Fri Nov 23 19:56:18 UTC 2018
** Tags removed: check-for-breezy
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/82305
Title:
push and pull on bound branches use too much network
Status in Bazaar:
Confirmed
Status in bzr package in Ubuntu:
Confirmed
Bug description:
currently pull on a bound branch does the following:
given a source(maybe-remote), a checkout (which is local) and a
master(maybe-remote) of the checkout-
* pulls from source to master - data travels over the wire twice
(source to bzr, bzr to master).
* pulls from master to checkout - data travels over the wire once
(master to bzr, bzr to local disk).
For a total of three traversals of the repository data over the wire.
This should be:
* fetch from source to checkout repository
* fetch from checkout repository to master
* update master branch last-revision
* update local branch last-revision.
Likewise push currently does:
given a source(local), checkout(maybe remote), and a master(maybe
remote) of the checkout-
* pull from source to master (data crosses wire once)
* pull from master to checkout (data crosses wire twice)
where it should do
* pull from source to master
* pull from source to checkout
This is using pull in the 0.14 API sense, before the current work I'm
doing to split pull and push into specific API calls.
affects bzr
status confirmed
importance medium
-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/82305/+subscriptions
More information about the foundations-bugs
mailing list