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

login
register
mail settings
Submitter phabricator
Date Nov. 21, 2019, 1:35 p.m.
Message ID <3a958becf260818e11005b8be1ad1d0e@localhost.localdomain>
Download mbox | patch
Permalink /patch/43381/
State Not Applicable
Headers show

Comments

phabricator - Nov. 21, 2019, 1:35 p.m.
Closed by commit rHG4330851947fb: tests: add more tests for &quot;hg shelve --delete&quot; (authored by dlax).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

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

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, mharbison72, pulkit
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