Patchwork D3686: shelve: wider check for successful abort in test

login
register
mail settings
Submitter phabricator
Date June 16, 2018, 8:24 p.m.
Message ID <dcf19bc68baaeaf114dc287c228da11f@localhost.localdomain>
Download mbox | patch
Permalink /patch/32203/
State Not Applicable
Headers show

Comments

phabricator - June 16, 2018, 8:24 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG2313a3599e41: shelve: wider check for successful abort in test (authored by lothiraldan, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3686?vs=8974&id=9115

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

AFFECTED FILES
  tests/test-shelve.t

CHANGE DETAILS




To: lothiraldan, #hg-reviewers
Cc: 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
@@ -1289,8 +1289,16 @@ 
   [1]
   $ sed 's/ae8c668541e8/123456789012/' .hg/shelvedstate > ../corrupt-shelvedstate
   $ mv ../corrupt-shelvedstate .hg/histedit-state
-  $ hg unshelve --abort 2>&1 | grep 'rebase aborted'
+  $ hg unshelve --abort 2>&1 | grep 'aborted'
   rebase aborted
+  unshelve of 'default-01' aborted
+  $ hg summary
+  parent: 0:ae8c668541e8 tip
+   root
+  branch: default
+  commit: 1 modified, 1 unknown
+  update: (current)
+  phases: 1 draft
   $ hg up -C .
   1 files updated, 0 files merged, 0 files removed, 0 files unresolved