Patchwork D7460: tests: add more tests for "hg shelve --delete"

login
register
mail settings
Submitter phabricator
Date Nov. 20, 2019, 12:53 p.m.
Message ID <574437644bc579ad0e52b74204fbd926@localhost.localdomain>
Download mbox | patch
Permalink /patch/43373/
State Not Applicable
Headers show

Comments

phabricator - Nov. 20, 2019, 12:53 p.m.
dlax updated this revision to Diff 18250.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7460?vs=18249&id=18250

BRANCH
  default

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7460/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7460

AFFECTED FILES
  tests/test-shelve.t

CHANGE DETAILS




To: dlax, #hg-reviewers
Cc: mharbison72, mercurial-devel

Patch

diff --git a/tests/test-shelve.t b/tests/test-shelve.t
--- a/tests/test-shelve.t
+++ b/tests/test-shelve.t
@@ -951,6 +951,16 @@ 
   +++ b/jungle
   @@ -0,0 +1,1 @@
   +babar
+
+Test shelve --delete
+
+  $ hg shelve --list
+  default         (*s ago)    changes to: create conflict (glob)
+  $ hg shelve --delete doesnotexist
+  abort: shelved change 'doesnotexist' not found
+  [255]
+  $ hg shelve --delete default
+
   $ cd ..
 
 Test visibility of in-memory changes inside transaction to external hook