Mercurial > hg > mercurial-crew-with-dirclash
comparison 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 |
comparison
equal
deleted
inserted
replaced
3762:b9d3e12da485 | 3763:955475d237fc |
---|---|
104 echo % new.patch: +1 +2 -3 | 104 echo % new.patch: +1 +2 -3 |
105 echo % b.patch: +2 | 105 echo % b.patch: +2 |
106 echo % c.patch: unguarded | 106 echo % c.patch: unguarded |
107 hg qguard -l | 107 hg qguard -l |
108 | 108 |
109 hg qnew d.patch | |
110 hg qpop | |
111 echo % should show new.patch and b.patch as Guarded, c.patch as Applied | |
112 echo % and d.patch as Unapplied | |
113 hg qseries -v | |
109 | 114 |
115 hg qguard d.patch +2 | |
116 echo % new.patch, b.patch: Guarded. c.patch: Applied. d.patch: Guarded. | |
117 hg qseries -v |