Mercurial > hg
comparison tests/test-mq @ 9364:c7c2dd7524dd
mq: add options to qapplied/qunapplied to act like qprev/qnext
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Wed, 19 Aug 2009 12:50:46 +0200 |
parents | f528d1a93491 |
children | b8dc3eba4f9d |
comparison
equal
deleted
inserted
replaced
9363:8635b33eaade | 9364:c7c2dd7524dd |
---|---|
153 hg qapplied | 153 hg qapplied |
154 | 154 |
155 echo % qtop | 155 echo % qtop |
156 hg qtop | 156 hg qtop |
157 | 157 |
158 echo % qprev | 158 echo % prev |
159 hg qprev | 159 hg qapp -1 |
160 | 160 |
161 echo % qnext | 161 echo % next |
162 hg qnext | 162 hg qunapp -1 |
163 | 163 |
164 echo % pop, qnext, qprev, qapplied | 164 hg qpop |
165 hg qpop | |
166 hg qnext | |
167 hg qprev | |
168 hg qapplied | |
169 | |
170 echo % commit should fail | 165 echo % commit should fail |
171 hg commit | 166 hg commit |
172 | 167 |
173 echo % push should fail | 168 echo % push should fail |
174 hg push ../../k | 169 hg push ../../k |
194 hg qpush test.patch+1 | 189 hg qpush test.patch+1 |
195 hg qpush test.patch+2 | 190 hg qpush test.patch+2 |
196 hg qpop test2.patch-1 | 191 hg qpop test2.patch-1 |
197 hg qpop test2.patch-2 | 192 hg qpop test2.patch-2 |
198 hg qpush test1b.patch+1 | 193 hg qpush test1b.patch+1 |
194 | |
195 echo % pop, qapplied, qunapplied | |
196 hg qseries -v | |
197 echo % qapplied -1 test.patch | |
198 hg qapplied -1 test.patch | |
199 echo % qapplied -1 test1b.patch | |
200 hg qapplied -1 test1b.patch | |
201 echo % qapplied -1 test2.patch | |
202 hg qapplied -1 test2.patch | |
203 echo % qapplied -1 | |
204 hg qapplied -1 | |
205 echo % qapplied | |
206 hg qapplied | |
207 echo % qapplied test1b.patch | |
208 hg qapplied test1b.patch | |
209 echo % qunapplied -1 | |
210 hg qunapplied -1 | |
211 echo % qunapplied | |
212 hg qunapplied | |
213 echo % popping | |
214 hg qpop | |
215 echo % qunapplied -1 | |
216 hg qunapplied -1 | |
217 echo % qunapplied | |
218 hg qunapplied | |
219 echo % qunapplied test2.patch | |
220 hg qunapplied test2.patch | |
221 echo % qunapplied -1 test2.patch | |
222 hg qunapplied -1 test2.patch | |
223 echo % popping -a | |
224 hg qpop -a | |
225 echo % qapplied | |
226 hg qapplied | |
227 echo % qapplied -1 | |
228 hg qapplied -1 | |
229 hg qpush | |
199 | 230 |
200 echo % push should succeed | 231 echo % push should succeed |
201 hg qpop -a | 232 hg qpop -a |
202 hg push ../../k | 233 hg push ../../k |
203 | 234 |