Mercurial > hg > mercurial-crew
comparison tests/test-bisect @ 5777:51776e50bc8c
bisect: improve tests
- test skipping
- test noupdate
- test bad->good search
- test inconsistent state
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 31 Dec 2007 18:20:34 -0600 |
parents | 35ec669cdd43 |
children | 6d904eb19c2a |
comparison
equal
deleted
inserted
replaced
5776:35ec669cdd43 | 5777:51776e50bc8c |
---|---|
25 echo % bisect test | 25 echo % bisect test |
26 hg bisect -r | 26 hg bisect -r |
27 hg bisect -b | 27 hg bisect -b |
28 hg bisect -g 1 | 28 hg bisect -g 1 |
29 hg bisect -g | 29 hg bisect -g |
30 echo skip | |
31 hg bisect -s | |
30 hg bisect -g | 32 hg bisect -g |
31 hg bisect -g | 33 hg bisect -g |
32 hg bisect -b | 34 hg bisect -b |
33 hg bisect -g | 35 hg bisect -g |
34 | 36 |
35 echo % bisect reverse test | 37 echo % bisect reverse test |
36 hg bisect -r | 38 hg bisect -r |
37 hg bisect -b null | 39 hg bisect -b null |
38 hg bisect -g tip | 40 hg bisect -g tip |
39 hg bisect -g | 41 hg bisect -g |
42 echo skip | |
43 hg bisect -s | |
40 hg bisect -g | 44 hg bisect -g |
41 hg bisect -g | 45 hg bisect -g |
42 hg bisect -b | 46 hg bisect -b |
43 hg bisect -g | 47 hg bisect -g |
48 | |
49 hg bisect -r | |
50 hg bisect -g tip | |
51 hg bisect -b tip || echo error | |
52 | |
53 hg bisect -r | |
54 hg bisect -g null | |
55 hg bisect -bU tip | |
56 hg id |