Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the tortoisehg gui equivalent of doing "hg push -r"

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?

like image 273
mindless.panda Avatar asked May 12 '10 14:05

mindless.panda


2 Answers

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"

Screenshot

like image 178
J. Graumann Avatar answered Nov 16 '22 00:11

J. Graumann


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. enter image description here

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

  3. Choose Push -> Push to Here. enter image description here

Result: You will push only revision selected rather than everything. enter image description here

Hope this saves you some time.

like image 40
Matas Vaitkevicius Avatar answered Nov 16 '22 02:11

Matas Vaitkevicius