[RFC] make push a separate method on Branch
Robert Collins
robertc at robertcollins.net
Mon Jan 29 17:07:18 GMT 2007
We have push currently implemented via pull(), because its largely
symmetrical. I wanted to write a hook today that would be for push only,
but couldn't because of this. One way in which push and pull are not
symmetrical is in performance: in push, the source branch is always
local, and thus fast, and in pull, the target branch is always local and
thus fast.
So I think we should have explicit push and pull methods on branch,
which may share a common worker function - I'll look at that when doing
the split.
Thoughts ?
-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070130/6cf5ce64/attachment.pgp
More information about the bazaar
mailing list