Mercurial > evolve
comparison tests/test-topic.t @ 6395:1328195f76a9 mercurial-5.6
test-compat: merge mercurial-5.7 into mercurial-5.6
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 06 Feb 2023 19:49:33 +0400 |
parents | 171d13d8f0ce faea18a26188 |
children | 270223576b7f a62308fb15c1 |
comparison
equal
deleted
inserted
replaced
6349:3b486ae2e79a | 6395:1328195f76a9 |
---|---|
259 abort: cannot use --current and --clear | 259 abort: cannot use --current and --clear |
260 [255] | 260 [255] |
261 $ hg topics --clear somerandomtopic | 261 $ hg topics --clear somerandomtopic |
262 abort: cannot use --clear when setting a topic | 262 abort: cannot use --clear when setting a topic |
263 [255] | 263 [255] |
264 $ hg topics --list --clear | |
265 abort: cannot specify both --list and --clear | |
266 [255] | |
264 | 267 |
265 Trying some invalid topicnames | 268 Trying some invalid topicnames |
266 | 269 |
267 $ hg topic '.' | 270 $ hg topic '.' |
268 abort: the name '.' is reserved | 271 abort: the name '.' is reserved |
275 [255] | 278 [255] |
276 $ hg topic 12345 | 279 $ hg topic 12345 |
277 abort: cannot use an integer as a name | 280 abort: cannot use an integer as a name |
278 [255] | 281 [255] |
279 $ hg topic ' ' | 282 $ hg topic ' ' |
280 abort: topic name cannot consist entirely of whitespaces | 283 abort: topic names cannot consist entirely of whitespace |
281 [255] | 284 [255] |
282 | 285 |
283 $ hg topic 'a12#45' | 286 $ hg topic 'a12#45' |
284 abort: invalid topic name: 'a12#45' | 287 abort: invalid topic name: 'a12#45' |
285 (topic names can only consist of alphanumeric, '-' '_' and '.' characters) | 288 (topic names can only consist of alphanumeric, '-' '_' and '.' characters) |
314 abort: empty commit message | 317 abort: empty commit message |
315 [255] | 318 [255] |
316 $ hg revert alpha | 319 $ hg revert alpha |
317 $ hg topic | 320 $ hg topic |
318 * topicflag (0 changesets) | 321 * topicflag (0 changesets) |
322 | |
323 Non-ascii topic name | |
324 | |
325 $ hg --encoding utf-8 topic æ | |
326 $ hg topics | |
327 * \xc3\xa6 (0 changesets) (esc) | |
328 $ hg --encoding latin1 topics | |
329 * \xc3\xa6 (0 changesets) (esc) | |
330 | |
331 $ hg --encoding utf-8 topic © | |
332 abort: invalid topic name: '\xc2\xa9' (esc) | |
333 (topic names can only consist of alphanumeric, '-' '_' and '.' characters) | |
334 [255] | |
335 | |
336 $ hg --encoding latin1 topic æ | |
337 abort: invalid topic name: '\xc3\xa6' (esc) | |
338 (topic names can only consist of alphanumeric, '-' '_' and '.' characters) | |
339 [255] | |
319 | 340 |
320 Make a topic | 341 Make a topic |
321 | 342 |
322 $ hg topic narf | 343 $ hg topic narf |
323 $ hg topics | 344 $ hg topics |
579 $ hg ci -m 'Finish narf' | 600 $ hg ci -m 'Finish narf' |
580 $ hg topics | 601 $ hg topics |
581 fran (1 changesets) | 602 fran (1 changesets) |
582 * narf (2 changesets) | 603 * narf (2 changesets) |
583 query (2 changesets) | 604 query (2 changesets) |
584 $ hg debugnamecomplete # branch:topic here is a buggy side effect | 605 $ hg debugnamecomplete |
585 default | 606 default |
586 default:fran | 607 default//fran |
587 default:narf | 608 default//narf |
588 default:query | 609 default//query |
589 fran | 610 fran |
590 narf | 611 narf |
591 query | 612 query |
592 tip | 613 tip |
593 $ hg phase --public narf | 614 $ hg phase --public narf |