changeset 311:a25eb7e42889

new stub
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 17 May 2013 03:13:11 -0700
parents a6cd6900419e
children 597455a28c49 a9d3f1210506
files python/hg-tricks.py
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /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