diff python/hg-tricks.py @ 311:a25eb7e42889

new stub
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 17 May 2013 03:13:11 -0700
parents
children 11ac996b9c49
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