Mercurial > hg
comparison tests/test-histedit-arguments.t @ 48054:f27a83399abb
histedit: use more specific exceptions for more detailed exit codes
Differential Revision: https://phab.mercurial-scm.org/D11509
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Tue, 28 Sep 2021 09:32:24 -0700 |
parents | 6f8a94bbfba1 |
children |
comparison
equal
deleted
inserted
replaced
48053:6256c7525222 | 48054:f27a83399abb |
---|---|
91 | 91 |
92 $ hg up 2 | 92 $ hg up 2 |
93 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 93 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
94 $ hg histedit -r 4 | 94 $ hg histedit -r 4 |
95 abort: 08d98a8350f3 is not an ancestor of working directory | 95 abort: 08d98a8350f3 is not an ancestor of working directory |
96 [255] | 96 [10] |
97 $ hg up --quiet | 97 $ hg up --quiet |
98 | 98 |
99 | 99 |
100 Test that we pick the minimum of a revrange | 100 Test that we pick the minimum of a revrange |
101 --------------------------------------- | 101 --------------------------------------- |
288 $ hg add x | 288 $ hg add x |
289 $ hg commit -m'x' x | 289 $ hg commit -m'x' x |
290 created new head | 290 created new head |
291 $ hg histedit -r 'heads(all())' | 291 $ hg histedit -r 'heads(all())' |
292 abort: The specified revisions must have exactly one common root | 292 abort: The specified revisions must have exactly one common root |
293 [255] | 293 [10] |
294 | 294 |
295 Test that trimming description using multi-byte characters | 295 Test that trimming description using multi-byte characters |
296 -------------------------------------------------------------------- | 296 -------------------------------------------------------------------- |
297 | 297 |
298 $ "$PYTHON" <<EOF | 298 $ "$PYTHON" <<EOF |