This is a modification to the script that I published awhile back. Basically it now checks the status (hg status) of the repository before doing anything. If there are uncommitted changes, a message is printed and the repository is ignored in the pull/update mechanism. The check for commit status is also made for pushes as well. It is a very nice improvement to the script.
I started a bitbucket account. You can get the source code or clone the repo from here:
Pingback: Updated Mercurial Batch Pull/Update Python Script | Bluebill