Patchwork D3690: shelve: actually test corrupted shelve state

login
register
mail settings
Submitter phabricator
Date June 25, 2018, 3:21 p.m.
Message ID <4b1f3f78a15b5897f130223526c4d908@localhost.localdomain>
Download mbox | patch
Permalink /patch/32421/
State Not Applicable
Headers show

Comments

phabricator - June 25, 2018, 3:21 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG920f69c0b549: shelve: actually test corrupted shelve state (authored by lothiraldan, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3690?vs=8979&id=9291

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

AFFECTED FILES
  tests/test-shelve.t

CHANGE DETAILS




To: lothiraldan, #hg-reviewers, durin42
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
@@ -1277,7 +1277,7 @@ 
   unresolved conflicts (see 'hg resolve', then 'hg unshelve --continue')
   [1]
   $ sed 's/ae8c668541e8/123456789012/' .hg/shelvedstate > ../corrupt-shelvedstate
-  $ mv ../corrupt-shelvedstate .hg/histedit-state
+  $ mv ../corrupt-shelvedstate .hg/shelvestate
   $ hg unshelve --abort 2>&1 | grep 'aborted'
   unshelve of 'default-01' aborted
   $ hg summary