user1544337
user1544337

Reputation:

Multiple pull requests on Bitbucket using Mercurial

I know how to create multiple pull requests from one fork on GitHub: you create separate branches for each PR.

How to do the same using Mercurial on Bitbucket? Do I need to create 'bookmarks' or 'multiple heads'? I have already created one PR from default, now I want to add a second PR that doesn't depend on the new commits on my default. In git, I would do the following:

$ git branch -b new-patch HEAD~

Then do commits, and

$ git push --set-upstream origin new-patch

after which I can create a PR from the new branch new-patch.

How to do the same with Mercurial?

Upvotes: 0

Views: 191

Answers (1)

planetmaker
planetmaker

Reputation: 6044

Mercurial is simpler there:

Checkout the changeset you want to see your changes based-on and simply start writing and commiting. When done programming, push.

Upvotes: 1

Related Questions