# HG changeset patch # User Jeff Hammel # Date 1368785591 25200 # Node ID a25eb7e42889ade376e9e8e51ca37eda01e1d97f # Parent a6cd6900419e7c8b335bae9682c4ebc0b88ded82 new stub diff -r a6cd6900419e -r a25eb7e42889 python/hg-tricks.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python/hg-tricks.py Fri May 17 03:13:11 2013 -0700 @@ -0,0 +1,9 @@ +# check status +/ # check for outstanding changes + output = self._call(['st']).strip() + lines = [line for line in output.splitlines() + if not line.startswith('?')] + if lines: + print "Outstanding changes:" + print output + raise AssertionError