comparison tests/test-fold.t @ 2783:3e9c3119410a

precheck: point to the instability doc when aborting This will help user to understand what is going on.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 23 Jul 2017 19:53:51 +0200
parents 58e4b51ee902
children d17d193c4145
comparison
equal deleted inserted replaced
2782:2bd0b0996cfb 2783:3e9c3119410a
162 > [experimental] 162 > [experimental]
163 > evolution = createmarkers, allnewcommands 163 > evolution = createmarkers, allnewcommands
164 > EOF 164 > EOF
165 $ hg fold --from 'desc("r4")' 165 $ hg fold --from 'desc("r4")'
166 abort: cannot fold chain not ending with a head or with branching 166 abort: cannot fold chain not ending with a head or with branching
167 (new unstable changesets are not allowed) 167 (see 'hg help evolution.instability')
168 [255] 168 [255]
169 $ hg fold --from 'desc("r3")::desc("r11")' 169 $ hg fold --from 'desc("r3")::desc("r11")'
170 abort: cannot fold chain not ending with a head or with branching 170 abort: cannot fold chain not ending with a head or with branching
171 (new unstable changesets are not allowed) 171 (see 'hg help evolution.instability')
172 [255] 172 [255]
173 173
174 test --user variant 174 test --user variant
175 175
176 $ cat << EOF >> .hg/hgrc 176 $ cat << EOF >> .hg/hgrc