--- a/tests/test-mq-guards.t Thu Sep 16 16:12:26 2010 -0500
+++ b/tests/test-mq-guards.t Thu Sep 16 17:51:32 2010 -0500
@@ -34,12 +34,14 @@
$ hg qguard does-not-exist.patch +bleh
abort: no patch named does-not-exist.patch
+ [255]
should fail
$ hg qguard +fail
abort: no patches applied
+ [255]
$ hg qpush
applying a.patch
@@ -62,6 +64,7 @@
$ hg qpush a.patch
cannot push 'a.patch' - guarded by ['+a']
+ [1]
$ hg qguard a.patch
a.patch: +a
@@ -80,6 +83,7 @@
$ hg qselect ""
abort: guard cannot be an empty string
+ [255]
$ hg qselect a
number of unguarded, unapplied patches has changed from 2 to 3