Pulling into a branch
Ben Hood
0x6e6562 at gmail.com
Wed Nov 12 11:56:10 UTC 2008
Peer,
On Wed, Nov 12, 2008 at 3:03 AM, Peer Sommerlund
<peer.sommerlund at gmail.com> wrote:
> As can the mq extension
>
> cd main_repo
> hg pull contributor_repo
> hg update default
> hg qimport -r first_contributed:last_contributed --git
> hg qpop --all
> hg update target_branch
> hg qpush --all
> hg qdelete -r qbase:qtip
>
Thanks for the suggestion, I've tried this and it works. Now I would
just need to figure out how the contributor would then rebase their
tree to reflect the fact that I've extracted a changeset from their
default branch and put it on the target_branch, because when the
contributor resynchronizes, they would get the result of the qdel
operation, but they would also have the orginal changeset on their
default branch.
Ben
More information about the Mercurial
mailing list