Mercurial Push/Pull script with status checking

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:

https://bitbucket.org/troy_williams/hg_utilities/overview

About these ads

One thought on “Mercurial Push/Pull script with status checking

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s