Mercurial > evolve
comparison tests/test-topic.t @ 6683:755bb6998051 mercurial-6.0
test-compat: merge mercurial-6.1 into mercurial-6.0
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sun, 04 Feb 2024 16:14:45 -0300 |
parents | cc688e806f56 1dc008b6ad21 |
children | 752201811d5a |
comparison
equal
deleted
inserted
replaced
6581:cc688e806f56 | 6683:755bb6998051 |
---|---|
283 abort: topic names cannot consist entirely of whitespace | 283 abort: topic names cannot consist entirely of whitespace |
284 [10] | 284 [10] |
285 | 285 |
286 $ hg topic 'a12#45' | 286 $ hg topic 'a12#45' |
287 abort: invalid topic name: 'a12#45' | 287 abort: invalid topic name: 'a12#45' |
288 (topic names can only consist of alphanumeric, '-' '_' and '.' characters) | 288 (topic names can only consist of alphanumeric, '-', '_' and '.' characters) |
289 [10] | 289 [10] |
290 | 290 |
291 $ hg topic 'foo bar' | 291 $ hg topic 'foo bar' |
292 abort: invalid topic name: 'foo bar' | 292 abort: invalid topic name: 'foo bar' |
293 (topic names can only consist of alphanumeric, '-' '_' and '.' characters) | 293 (topic names can only consist of alphanumeric, '-', '_' and '.' characters) |
294 [10] | 294 [10] |
295 | 295 |
296 this is trying to list topic names | 296 this is trying to list topic names |
297 $ hg topic '' | 297 $ hg topic '' |
298 | 298 |
299 $ hg topic '*12 B23' | 299 $ hg topic '*12 B23' |
300 abort: invalid topic name: '*12 B23' | 300 abort: invalid topic name: '*12 B23' |
301 (topic names can only consist of alphanumeric, '-' '_' and '.' characters) | 301 (topic names can only consist of alphanumeric, '-', '_' and '.' characters) |
302 [10] | 302 [10] |
303 | 303 |
304 Test commit flag and help text | 304 Test commit flag and help text |
305 | 305 |
306 $ echo stuff >> alpha | 306 $ echo stuff >> alpha |
320 $ hg topic | 320 $ hg topic |
321 * topicflag (0 changesets) | 321 * topicflag (0 changesets) |
322 | 322 |
323 Non-ascii topic name | 323 Non-ascii topic name |
324 | 324 |
325 $ hg topic --clear | |
326 clearing empty topic "topicflag" | |
325 $ hg --encoding utf-8 topic æ | 327 $ hg --encoding utf-8 topic æ |
326 $ hg topics | 328 marked working directory as topic: \xc3\xa6 (esc) |
327 * \xc3\xa6 (0 changesets) (esc) | 329 $ hg --encoding utf-8 topics |
330 * æ (0 changesets) (esc) | |
331 $ hg --encoding ascii topics | |
332 * ? (0 changesets) (esc) | |
328 $ hg --encoding latin1 topics | 333 $ hg --encoding latin1 topics |
329 * \xc3\xa6 (0 changesets) (esc) | 334 * \xe6 (0 changesets) (esc) |
330 | 335 |
331 $ hg --encoding utf-8 topic © | 336 $ hg --encoding utf-8 topic © |
332 abort: invalid topic name: '\xc2\xa9' (esc) | 337 abort: invalid topic name: '\xc2\xa9' (esc) |
333 (topic names can only consist of alphanumeric, '-' '_' and '.' characters) | 338 (topic names can only consist of alphanumeric, '-', '_' and '.' characters) |
334 [10] | 339 [10] |
335 | 340 |
336 $ hg --encoding latin1 topic æ | 341 $ hg --encoding latin1 topic æ |
337 abort: invalid topic name: '\xc3\xa6' (esc) | 342 abort: invalid topic name: '\xc3\xa6' (esc) |
338 (topic names can only consist of alphanumeric, '-' '_' and '.' characters) | 343 (topic names can only consist of alphanumeric, '-', '_' and '.' characters) |
339 [10] | 344 [10] |
340 | 345 |
341 Make a topic | 346 Make a topic |
342 | 347 |
343 $ hg topic narf | 348 $ hg topic narf |