2010-09-09

Check a Mercurial/Hg repo for pending changesets

...that haven't been pushed to the remote repository.
 hg summary --remote
Should return something like

idea-loxal:example hg sum --remote
parent: 3:4839fec7112a tip
 + Maven sugar tags
branch: default
commit: (clean)
update: (current)
remote: 1 outgoing
if there are pending changes that have to be pushed. If you see something like

idea-loxal:example hg summary --remote
parent: 3:4839fec7112a tip
 + Maven sugar tags
branch: default
commit: (clean)
update: (current)
remote: (synced)
there are no pending changesets that have to be pushed to the remote repo.