Mercurial > evolve
comparison tests/test-evolve-interrupted.t @ 5874:1682b388be13 stable
tests: update exit code for failed hooks
CORE-TEST-OUTPUT-UPDATE: 768056549737
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 04 Feb 2021 19:21:28 +0800 |
parents | 84da58ad69a1 |
children | 74aebf0b18f8 b1d1f4ade142 |
comparison
equal
deleted
inserted
replaced
5873:ee242f4a2d73 | 5874:1682b388be13 |
---|---|
46 move:[1] banana | 46 move:[1] banana |
47 atop:[2] apricot and blueberry | 47 atop:[2] apricot and blueberry |
48 transaction abort! | 48 transaction abort! |
49 rollback completed | 49 rollback completed |
50 abort: precommit hook exited with status 1 | 50 abort: precommit hook exited with status 1 |
51 [255] | 51 [40] |
52 $ hg l | 52 $ hg l |
53 @ 2 apricot and blueberry | 53 @ 2 apricot and blueberry |
54 | 54 |
55 * 1 banana | 55 * 1 banana |
56 | | 56 | |
105 move:[1] banana | 105 move:[1] banana |
106 atop:[2] apricot and blueberry | 106 atop:[2] apricot and blueberry |
107 transaction abort! | 107 transaction abort! |
108 rollback completed | 108 rollback completed |
109 abort: precommit hook exited with status 1 | 109 abort: precommit hook exited with status 1 |
110 [255] | 110 [40] |
111 $ cat b | 111 $ cat b |
112 banana | 112 banana |
113 $ hg evolve --stop | 113 $ hg evolve --stop |
114 stopped the interrupted evolve | 114 stopped the interrupted evolve |
115 working directory is now at e1989e4b1526 | 115 working directory is now at e1989e4b1526 |
130 move:[1] banana | 130 move:[1] banana |
131 atop:[2] apricot and blueberry | 131 atop:[2] apricot and blueberry |
132 transaction abort! | 132 transaction abort! |
133 rollback completed | 133 rollback completed |
134 abort: precommit hook exited with status 1 | 134 abort: precommit hook exited with status 1 |
135 [255] | 135 [40] |
136 $ hg evolve --continue | 136 $ hg evolve --continue |
137 evolving 1:e0486f65907d "banana" | 137 evolving 1:e0486f65907d "banana" |
138 working directory is now at bd5ec7dfc2af | 138 working directory is now at bd5ec7dfc2af |
139 $ cat .hg/evolvestate | 139 $ cat .hg/evolvestate |
140 cat: .hg/evolvestate: No such file or directory | 140 cat: .hg/evolvestate: No such file or directory |