Mercurial > hg
diff tests/test-shelve.t @ 46272:a68d3386138c
shelve: raise more specific errors
Differential Revision: https://phab.mercurial-scm.org/D9699
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 07 Jan 2021 12:26:32 -0800 |
parents | 416ecdaa12df |
children | 38941a28406a |
line wrap: on
line diff
--- a/tests/test-shelve.t Thu Jan 07 12:58:43 2021 -0800 +++ b/tests/test-shelve.t Thu Jan 07 12:26:32 2021 -0800 @@ -278,10 +278,10 @@ $ hg unshelve abort: no shelved changes to apply! - [255] + [20] $ hg unshelve foo abort: shelved change 'foo' not found - [255] + [10] named shelves, specific filenames, and "commit messages" should all work (this tests also that editor is invoked, if '--edit' is specified) @@ -979,7 +979,7 @@ default (*s ago) changes to: create conflict (glob) $ hg shelve --delete doesnotexist abort: shelved change 'doesnotexist' not found - [255] + [10] $ hg shelve --delete default $ cd .. @@ -1408,7 +1408,7 @@ -- using --continue with --interactive should throw an error $ hg unshelve --continue -i abort: cannot use both continue and interactive - [255] + [10] $ cat bar1 A @@ -1511,7 +1511,7 @@ -- test for --interactive --keep $ hg unshelve -i --keep abort: --keep on --interactive is not yet supported - [255] + [10] $ hg update -q --clean .