diff tests/test-mq-guards @ 3763:955475d237fc

fix qseries -v and guards interaction - rename "status" variable to avoid shadowing an argument - use a better test to determine whether a patch is applied
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Sat, 02 Dec 2006 18:41:07 -0200
parents 193e9c6d1a6d
children a9ee6c53af8d
line wrap: on
line diff
--- a/tests/test-mq-guards
+++ b/tests/test-mq-guards
@@ -106,4 +106,12 @@ echo % b.patch: +2
 echo % c.patch: unguarded
 hg qguard -l
 
+hg qnew d.patch
+hg qpop
+echo % should show new.patch and b.patch as Guarded, c.patch as Applied
+echo % and d.patch as Unapplied
+hg qseries -v
 
+hg qguard d.patch +2
+echo % new.patch, b.patch: Guarded. c.patch: Applied. d.patch: Guarded.
+hg qseries -v