[ANN][RFC] plugin package: ezbzr
Nathaniel McCallum
npmccallum at gentoo.org
Fri Jan 20 13:41:12 GMT 2006
On Fri, 2006-01-20 at 07:45 +0100, Jan Hudec wrote:
> On Thu, Jan 19, 2006 at 12:29:07 -0500, Nathaniel McCallum wrote:
> > On Thu, 2006-01-19 at 09:58 -0600, John A Meinel wrote:
> >
> > > Looking at the internal comments, it seems to 'bzr get' a remote branch
> > > locally, then merge the current tree into it, and then push the changes
> > > back to the remote.
> > >
> > > I suppose the idea is you might have sftp access, but not ssh access,
> > > and you want to merge into the remote, not push.
> >
> > This is exactly what it does. It was written for (mainly) internal use
> > where we need to have multiple shared repositories on a (secured) remote
> > server, but we don't have shell access. Each of these branches are
> > related, but not identical. Thus I may need to merge feature x from my
> > branch into each of the following 'x' branches. Is there another
> > workflow I should be using?
>
> The workflow is correct. But you should review the changes you are
> pushing, so it should really be broken into two separate stages - the
> merge and the commit+push.
>
> I think it would be best to add an option to merge command, that would
> do the merge as usual, but replace revision-history with the remote one
> (like pull --overwrite) and put the local revision in pending-merges.
> Then you'd normally commit and push.
>
> The option could be '--switch-parents', but perhaps '--to' would be
> better, considering it's to be used rather often.
>
BUT, then you'd contaminate your local tree with the remote's history,
which is exactly what I'm trying to avoid.
More information about the bazaar
mailing list