Mercurial > hg-stable
comparison tests/test-branch-change.t @ 45859:527ce85c2e60
errors: introduce StateError and use it from commands and cmdutil
This very similar to an earlier patch (which was for `InputError`).
In this patch, I also updated the transplant extension only because
`test-transplant.t` would otherwise have needed a `#if continueflag`.
Differential Revision: https://phab.mercurial-scm.org/D9310
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 12 Oct 2020 12:44:18 -0700 |
parents | 8d72e29ad1e0 |
children | f96fa4de5055 |
comparison
equal
deleted
inserted
replaced
45858:ebee234d952a | 45859:527ce85c2e60 |
---|---|
63 Change with dirty working directory | 63 Change with dirty working directory |
64 | 64 |
65 $ echo bar > a | 65 $ echo bar > a |
66 $ hg branch -r . foo | 66 $ hg branch -r . foo |
67 abort: uncommitted changes | 67 abort: uncommitted changes |
68 [255] | 68 [20] |
69 | 69 |
70 $ hg revert --all | 70 $ hg revert --all |
71 reverting a | 71 reverting a |
72 | 72 |
73 Change on empty revision set | 73 Change on empty revision set |
329 $ hg merge -r 28 | 329 $ hg merge -r 28 |
330 4 files updated, 0 files merged, 0 files removed, 0 files unresolved | 330 4 files updated, 0 files merged, 0 files removed, 0 files unresolved |
331 (branch merge, don't forget to commit) | 331 (branch merge, don't forget to commit) |
332 $ hg branch -r . abcd | 332 $ hg branch -r . abcd |
333 abort: outstanding uncommitted merge | 333 abort: outstanding uncommitted merge |
334 [255] | 334 [20] |
335 | 335 |
336 $ hg ci -m "Merge commit" | 336 $ hg ci -m "Merge commit" |
337 $ hg glog -r 'parents(.)::' | 337 $ hg glog -r 'parents(.)::' |
338 @ 30:4d56e6b1eb6b Merge commit | 338 @ 30:4d56e6b1eb6b Merge commit |
339 |\ default () | 339 |\ default () |