comparison tests/test-topic.t @ 5714:b3d9e6c805d6 stable

tests: update with more detailed exit codes CORE-TEST-OUTPUT-UPDATE: 21733e8c924f CORE-TEST-OUTPUT-UPDATE: 8d72e29ad1e0 CORE-TEST-OUTPUT-UPDATE: e0dbfbd4062c CORE-TEST-OUTPUT-UPDATE: ebee234d952a CORE-TEST-OUTPUT-UPDATE: 527ce85c2e60 CORE-TEST-OUTPUT-UPDATE: 3175b0e0058b CORE-TEST-OUTPUT-UPDATE: f96fa4de5055 CORE-TEST-OUTPUT-UPDATE: 96ca817ec192
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 19 Nov 2020 08:28:45 -0800
parents d0f73113fcc0
children 61d2f1cf90f0
comparison
equal deleted inserted replaced
5713:c3c870f3b98e 5714:b3d9e6c805d6
269 269
270 Trying some invalid topicnames 270 Trying some invalid topicnames
271 271
272 $ hg topic '.' 272 $ hg topic '.'
273 abort: the name '.' is reserved 273 abort: the name '.' is reserved
274 [255] 274 [10]
275 $ hg topic null 275 $ hg topic null
276 abort: the name 'null' is reserved 276 abort: the name 'null' is reserved
277 [255] 277 [10]
278 $ hg topic tip 278 $ hg topic tip
279 abort: the name 'tip' is reserved 279 abort: the name 'tip' is reserved
280 [255] 280 [10]
281 $ hg topic 12345 281 $ hg topic 12345
282 abort: cannot use an integer as a name 282 abort: cannot use an integer as a name
283 [255] 283 [10]
284 $ hg topic ' ' 284 $ hg topic ' '
285 abort: topic name cannot consist entirely of whitespaces 285 abort: topic name cannot consist entirely of whitespaces
286 [255] 286 [255]
287 287
288 $ hg topic 'a12#45' 288 $ hg topic 'a12#45'
315 HG: user: test 315 HG: user: test
316 HG: topic 'topicflag' 316 HG: topic 'topicflag'
317 HG: branch 'default' 317 HG: branch 'default'
318 HG: changed alpha 318 HG: changed alpha
319 abort: empty commit message 319 abort: empty commit message
320 [255] 320 [10]
321 $ hg revert alpha 321 $ hg revert alpha
322 $ hg topic 322 $ hg topic
323 * topicflag (0 changesets) 323 * topicflag (0 changesets)
324 324
325 Make a topic 325 Make a topic