Mercurial > evolve
comparison tests/test-pick.t @ 5314:e6e92835d42d mercurial-5.0
test-compat: merge mercurial-5.1 into mercurial-5.0
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 08 May 2020 20:36:29 +0800 |
parents | d299af4da8d8 417503ef667d |
children | 011b53a9d03c c2c85576ddfb |
comparison
equal
deleted
inserted
replaced
5313:e8542915d0f7 | 5314:e6e92835d42d |
---|---|
1 #testcases abortcommand abortflag | 1 #testcases abortflag |
2 Test for the pick command | 2 Test for the pick command |
3 | 3 |
4 $ cat >> $HGRCPATH <<EOF | 4 $ cat >> $HGRCPATH <<EOF |
5 > [alias] | 5 > [alias] |
6 > glog = log -G -T "{rev}:{node|short} {desc}\n" | 6 > glog = log -G -T "{rev}:{node|short} {desc}\n" |
85 Aborting without interrupted pick | 85 Aborting without interrupted pick |
86 | 86 |
87 $ hg pick --abort | 87 $ hg pick --abort |
88 abort: no interrupted pick state exists | 88 abort: no interrupted pick state exists |
89 [255] | 89 [255] |
90 #if abortcommand | |
91 $ hg abort | |
92 abort: no operation in progress | |
93 [255] | |
94 #endif | |
95 | 90 |
96 Specifying both continue and revs | 91 Specifying both continue and revs |
97 | 92 |
98 $ hg up 1f0dee641bb7 | 93 $ hg up 1f0dee641bb7 |
99 0 files updated, 0 files merged, 2 files removed, 0 files unresolved | 94 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
260 merging b | 255 merging b |
261 warning: conflicts while merging b! (edit, then use 'hg resolve --mark') | 256 warning: conflicts while merging b! (edit, then use 'hg resolve --mark') |
262 unresolved merge conflicts (see hg help resolve) | 257 unresolved merge conflicts (see hg help resolve) |
263 [1] | 258 [1] |
264 | 259 |
265 #if abortcommand | |
266 $ hg abort --dry-run | |
267 pick in progress, will be aborted | |
268 #endif | |
269 $ hg abort | 260 $ hg abort |
270 aborting pick, updating to c437988de89f | 261 aborting pick, updating to c437988de89f |
271 | 262 |
272 $ hg glog | 263 $ hg glog |
273 @ 10:c437988de89f foo to b | 264 @ 10:c437988de89f foo to b |