问题
It's happened more than a few times that I'll commit a bit of code, then forget to actually push the code over to our remote repository (until my boss tells me that XYZ still doesn't work, and I feel silly).
Is there any way to have Tortoise display committed code that hasn't been pushed differently? Ideally I'd love it if there was a way to get such changesets to show with a gray background or something.
So in the below screenshot, if revision 1270 had not been pushed, have that show up shaded, or marked somehow.
Is this possible?
回答1:
The code that has been pushed will have "public" as its phase. The code that has not been pushed will be shown as "draft".
回答2:
You can use the sync toolbar to view what "outgoing" changesets you have.
来源:https://stackoverflow.com/questions/11937021/tortoisehg-display-commits-that-are-not-pushed