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

*爱你&永不变心* 提交于 2019-12-10 03:59:43

问题


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.



来源:https://stackoverflow.com/questions/2819760/what-is-the-tortoisehg-gui-equivalent-of-doing-hg-push-r

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!