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

2

8

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?

Manor answered 12/5, 2010 at 14:31 Comment(0)
T
9

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

Tangerine answered 7/7, 2010 at 20:2 Comment(1)
You now directly have a "Push selected branch" option.Contravallation
C
1

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.

Consolation answered 22/10, 2015 at 8:49 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.