comparison tests/test-metaedit.t @ 2784:d17d193c4145

precheck: update the orphan message to something me generic This will help to reuse it for other commands.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 23 Jul 2017 19:45:28 +0200
parents 3e9c3119410a
children 13c4d518327a 06844693bb21
comparison
equal deleted inserted replaced
2783:3e9c3119410a 2784:d17d193c4145
116 $ hg metaedit '.^' --config 'experimental.evolution=createmarkers, allnewcommands' 116 $ hg metaedit '.^' --config 'experimental.evolution=createmarkers, allnewcommands'
117 abort: cannot edit commit information in the middle of a stack 117 abort: cannot edit commit information in the middle of a stack
118 (587528abfffe will become unstable and new unstable changes are not allowed) 118 (587528abfffe will become unstable and new unstable changes are not allowed)
119 [255] 119 [255]
120 $ hg metaedit 'desc(A)::desc(B)' --fold --config 'experimental.evolution=createmarkers, allnewcommands' 120 $ hg metaedit 'desc(A)::desc(B)' --fold --config 'experimental.evolution=createmarkers, allnewcommands'
121 abort: cannot fold chain not ending with a head or with branching 121 abort: fold will orphan 4 descendants
122 (see 'hg help evolution.instability') 122 (see 'hg help evolution.instability')
123 [255] 123 [255]
124 $ hg metaedit --user foobar 124 $ hg metaedit --user foobar
125 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 125 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
126 $ hg log --template '{rev}: {author}\n' -r 'desc(F):' --hidden 126 $ hg log --template '{rev}: {author}\n' -r 'desc(F):' --hidden