Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-mq-guards @ 2818:05316bb57d01
mq: make guards more strict, add tests
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Wed, 09 Aug 2006 09:38:11 -0700 |
parents | 2e4ace008c94 |
children | 582cbc4392cb |
comparison
equal
deleted
inserted
replaced
2817:12139eedd6a0 | 2818:05316bb57d01 |
---|---|
57 echo % should push c.patch | 57 echo % should push c.patch |
58 hg qpush -a | 58 hg qpush -a |
59 | 59 |
60 hg qpop -a | 60 hg qpop -a |
61 hg qselect -n | 61 hg qselect -n |
62 echo % should push all | |
62 hg qpush -a | 63 hg qpush -a |
64 | |
65 hg qpop -a | |
66 hg qguard a.patch +1 +2 | |
67 hg qselect 1 | |
68 echo % should push b.patch | |
69 hg qpush | |
70 hg qpop -a | |
71 | |
72 hg qselect 2 | |
73 hg qpush | |
74 hg qpop -a | |
75 | |
76 hg qselect 1 2 | |
77 echo % should push a.patch | |
78 hg qpush | |
79 hg qpop -a | |
80 | |
81 hg qguard a.patch +1 +2 -3 | |
82 hg qselect 1 2 3 | |
83 echo % should push b.patch | |
84 hg qpush |