Mercurial > hg
comparison tests/test-mq-guards @ 4240:943f40b4da30
Tests for qapplied/qunapplied fixes (417c2068cb92 and ce6c364ebb2a)
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sun, 18 Mar 2007 19:41:28 +0100 |
parents | a9ee6c53af8d |
children | 7c59ade0f0d6 |
comparison
equal
deleted
inserted
replaced
4239:417c2068cb92 | 4240:943f40b4da30 |
---|---|
116 hg qseries -v | 116 hg qseries -v |
117 | 117 |
118 hg qguard d.patch +2 | 118 hg qguard d.patch +2 |
119 echo % new.patch, b.patch: Guarded. c.patch: Applied. d.patch: Guarded. | 119 echo % new.patch, b.patch: Guarded. c.patch: Applied. d.patch: Guarded. |
120 hg qseries -v | 120 hg qseries -v |
121 | |
122 qappunappv() | |
123 ( | |
124 for command in qapplied "qapplied -v" qunapplied "qunapplied -v"; do | |
125 echo % hg $command | |
126 hg $command | |
127 done | |
128 ) | |
129 | |
130 hg qpop -a | |
131 hg qguard -l | |
132 qappunappv | |
133 hg qselect 1 | |
134 qappunappv | |
135 hg qpush -a | |
136 qappunappv | |
137 hg qselect 2 | |
138 qappunappv | |
139 | |
140 for patch in `hg qseries`; do | |
141 echo % hg qapplied $patch | |
142 hg qapplied $patch | |
143 echo % hg qunapplied $patch | |
144 hg qunapplied $patch | |
145 done |