comparison tests/test-evolve.t @ 3946:8fcee1e65e29

test: adapt to core output change on unknown command CORE-TEST-OUTPUT-UPDATE: 5199c5b6fd29
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 14 Aug 2018 19:22:54 +0200
parents 9c0b37be8582
children a689f07d5663
comparison
equal deleted inserted replaced
3945:47dd383a9955 3946:8fcee1e65e29
1162 > [experimental] 1162 > [experimental]
1163 > evolution=createmarkers 1163 > evolution=createmarkers
1164 > EOF 1164 > EOF
1165 $ hg next 1165 $ hg next
1166 hg: unknown command 'next' 1166 hg: unknown command 'next'
1167 Mercurial Distributed SCM 1167 (use 'hg help' for a list of commands)
1168
1169 basic commands:
1170
1171 add add the specified files on the next commit
1172 annotate show changeset information by line for each file
1173 clone make a copy of an existing repository
1174 commit commit the specified files or all outstanding changes
1175 diff diff repository (or selected files)
1176 export dump the header and diffs for one or more changesets
1177 forget forget the specified files on the next commit
1178 init create a new repository in the given directory
1179 log show revision history of entire repository or files
1180 merge merge another revision into working directory
1181 pull pull changes from the specified source
1182 push push changes to the specified destination
1183 remove remove the specified files on the next commit
1184 serve start stand-alone webserver
1185 status show changed files in the working directory
1186 summary summarize working directory state
1187 update update working directory (or switch revisions)
1188
1189 (use 'hg help' for the full list of commands or 'hg -v' for details)
1190 [255] 1168 [255]
1191 $ hg fold 1169 $ hg fold
1192 hg: unknown command 'fold' 1170 hg: unknown command 'fold'
1193 Mercurial Distributed SCM 1171 (use 'hg help' for a list of commands)
1194
1195 basic commands:
1196
1197 add add the specified files on the next commit
1198 annotate show changeset information by line for each file
1199 clone make a copy of an existing repository
1200 commit commit the specified files or all outstanding changes
1201 diff diff repository (or selected files)
1202 export dump the header and diffs for one or more changesets
1203 forget forget the specified files on the next commit
1204 init create a new repository in the given directory
1205 log show revision history of entire repository or files
1206 merge merge another revision into working directory
1207 pull pull changes from the specified source
1208 push push changes to the specified destination
1209 remove remove the specified files on the next commit
1210 serve start stand-alone webserver
1211 status show changed files in the working directory
1212 summary summarize working directory state
1213 update update working directory (or switch revisions)
1214
1215 (use 'hg help' for the full list of commands or 'hg -v' for details)
1216 [255] 1172 [255]
1217 Enabling commands selectively, only fold enabled, next is still unknown 1173 Enabling commands selectively, only fold enabled, next is still unknown
1218 $ cat >> $HGRCPATH <<EOF 1174 $ cat >> $HGRCPATH <<EOF
1219 > [experimental] 1175 > [experimental]
1220 > evolution=createmarkers 1176 > evolution=createmarkers
1223 $ hg fold 1179 $ hg fold
1224 abort: no revisions specified 1180 abort: no revisions specified
1225 [255] 1181 [255]
1226 $ hg next 1182 $ hg next
1227 hg: unknown command 'next' 1183 hg: unknown command 'next'
1228 Mercurial Distributed SCM 1184 (use 'hg help' for a list of commands)
1229
1230 basic commands:
1231
1232 add add the specified files on the next commit
1233 annotate show changeset information by line for each file
1234 clone make a copy of an existing repository
1235 commit commit the specified files or all outstanding changes
1236 diff diff repository (or selected files)
1237 export dump the header and diffs for one or more changesets
1238 fold fold multiple revisions into a single one
1239 forget forget the specified files on the next commit
1240 init create a new repository in the given directory
1241 log show revision history of entire repository or files
1242 merge merge another revision into working directory
1243 pull pull changes from the specified source
1244 push push changes to the specified destination
1245 remove remove the specified files on the next commit
1246 serve start stand-alone webserver
1247 status show changed files in the working directory
1248 summary summarize working directory state
1249 update update working directory (or switch revisions)
1250
1251 (use 'hg help' for the full list of commands or 'hg -v' for details)
1252 [255] 1185 [255]
1253 1186
1254 Shows "use 'hg evolve' to..." hints iff the evolve command is enabled 1187 Shows "use 'hg evolve' to..." hints iff the evolve command is enabled
1255 1188
1256 $ hg --hidden up 14 1189 $ hg --hidden up 14