开发者

TortoiseHg: Has a changeset been pushed?

开发者 https://www.devze.com 2023-01-08 01:41 出处:网络
I have been working on a branch and have made some commits. Now is there some way I can see in TortoiseH开发者_如何学Pythong if those commits have been pushed or are they still just local?You can use

I have been working on a branch and have made some commits. Now is there some way I can see in TortoiseH开发者_如何学Pythong if those commits have been pushed or are they still just local?


You can use hg outgoing to see what would be sent if you pushed, and if a changeset doesn't show up in that list then it has been pushed to the specific remote repository you're testing.

There's no general "has been pushed" flag on a changeset because they can be pushed to multiple locations so it's not terribly meaningful.


In Tortoise HG you can use the 'Determine and Mark outoing changesets' button (a green up-arrow with no horizontal bar) in TortoiseHG explorer.
This will compare the local changeset to the changesets on the currently selected server.


From this answer on newer question: The code that has been pushed will have "public" as its phase. The code that has not been pushed will be shown as "draft".

0

精彩评论

暂无评论...
验证码 换一张
取 消