[rfc] Readonly/mirror branches
Robert Collins
robertc at robertcollins.net
Tue May 9 03:55:29 BST 2006
On Tue, 2006-05-09 at 12:31 +1000, Martin Pool wrote:
> On 09/05/2006, at 8:58 AM, Robert Collins wrote:
>
> > I'd like to just completely remove the 'push to the branch we bind to'
> > logic.
> >
> > Given that we have bzr push and bzr commit both able to push into the
> > master, it seems like bind is serving two masters : it is establishing
> > the link, and it is performing update and push as well. I think bind
> > should *just* establish the link - like unbind *just* breaks it.
>
> That's probably simpler, but we should make it clear what happened.
> If there are new revisions there we should say something like
>
> Bound to http://fofofof/
> There are 12 new revision in there; use bzr update to bring them in
>
> If they've diverged we should give an error as at present.
>
> This also relates to the question of just what should be shown by log.
I think if they are diverged, the local commits should be treated as
local commits, and no error should occur.
Only when there is no common ancestor other than NULL_REVISION should we
generate an error.
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: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060509/aed9a45f/attachment.pgp
More information about the bazaar
mailing list