Mercurial > hg
comparison tests/test-bundle-r.t @ 12316:4134686b83e1
tests: add exit codes to unified tests
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Thu, 16 Sep 2010 17:51:32 -0500 |
parents | 4c94b6d0fb1c |
children | 4fee1fd3de9a |
comparison
equal
deleted
inserted
replaced
12315:ca58f6475f1d | 12316:4134686b83e1 |
---|---|
205 | 205 |
206 should fail | 206 should fail |
207 | 207 |
208 $ hg -R test bundle --base 2 -r tip test-bundle-branch1.hg test-3 | 208 $ hg -R test bundle --base 2 -r tip test-bundle-branch1.hg test-3 |
209 abort: --base is incompatible with specifying a destination | 209 abort: --base is incompatible with specifying a destination |
210 [255] | |
210 $ hg -R test bundle -r tip test-bundle-branch1.hg | 211 $ hg -R test bundle -r tip test-bundle-branch1.hg |
211 abort: repository default-push not found! | 212 abort: repository default-push not found! |
213 [255] | |
212 | 214 |
213 $ hg -R test bundle --base 2 -r tip test-bundle-branch1.hg | 215 $ hg -R test bundle --base 2 -r tip test-bundle-branch1.hg |
214 2 changesets found | 216 2 changesets found |
215 $ hg -R test bundle --base 2 -r 7 test-bundle-branch2.hg | 217 $ hg -R test bundle --base 2 -r 7 test-bundle-branch2.hg |
216 4 changesets found | 218 4 changesets found |
221 | 223 |
222 empty bundle | 224 empty bundle |
223 | 225 |
224 $ hg -R test bundle --base 7 --base 8 test-bundle-empty.hg | 226 $ hg -R test bundle --base 7 --base 8 test-bundle-empty.hg |
225 no changes found | 227 no changes found |
228 [1] | |
226 | 229 |
227 issue76 msg2163 | 230 issue76 msg2163 |
228 | 231 |
229 $ hg -R test bundle --base 3 -r 3 -r 3 test-bundle-cset-3.hg | 232 $ hg -R test bundle --base 3 -r 3 -r 3 test-bundle-cset-3.hg |
230 1 changesets found | 233 1 changesets found |
246 $ hg unbundle ../test-bundle-should-fail.hg | 249 $ hg unbundle ../test-bundle-should-fail.hg |
247 adding changesets | 250 adding changesets |
248 transaction abort! | 251 transaction abort! |
249 rollback completed | 252 rollback completed |
250 abort: 00changelog.i@eebf5a27f8ca: unknown parent! | 253 abort: 00changelog.i@eebf5a27f8ca: unknown parent! |
254 [255] | |
251 | 255 |
252 revision 2 | 256 revision 2 |
253 | 257 |
254 $ hg tip -q | 258 $ hg tip -q |
255 2:e38ba6f5b7e0 | 259 2:e38ba6f5b7e0 |