Is there an hg command that will combine hg incoming
+ hg outgoing
+ hg status
?
This would tell you if there's anything remote that needs to come in, anything committed locally that needs to go out, or any local changes that need to be committed.
Though you won't get the actual changesets or files, to get the current status summary, use the summary command:
hg summary --remote
Example output:
C:\Temp\repo> hg summary --remote
parent: 5:18ee64a17016 tip
Added lots of unit-tests for DatabaseConnection.
branch: default
commit: 1 modified <-- status
update: 3 new changesets (update) <-- local status, not at tip
remote: 1 or more incoming, 1 outgoing <-- incoming/outgoing
Note that you only get counts, not the actual changesets, for that you need to execute the actual incoming or outgoing or status commands.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With