-->

What is the tortoisehg gui equivalent of doing “hg

2020-08-26 11:04发布

问题:

I don't see the options to accomplish this. I want to only push changesets related to my default branch, not any other local branches I have.

I thought I could do this by using the Repository Explorer like so: On the toolbar below the repository address, the first combo box allows me to select a branch. I set this to default. However once I push outgoing, it wants to flag local changesets not in default.

Any ideas?

回答1:

Aufter you determine the outgoing revisions with the green up-arrow, the "Push to Here" options appears in the context-menu of a selected revision.

"Push to Here" is the equivalent of "push -r"



回答2:

It took me some time to figure out @J.Graumann's answer above hence this answer for those who like pictures:

  1. In TortoiseHg click on Detect outgoing changes to button.

  2. Click right mouse button on revision you want to push.

  3. Choose Push -> Push to Here.

Result: You will push only revision selected rather than everything.

Hope this saves you some time.