Mercurial > evolve
comparison tests/test-topic.t @ 6686:155de3e19adb mercurial-5.7
test-compat: merge mercurial-5.8 into mercurial-5.7
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sun, 04 Feb 2024 16:28:25 -0300 |
parents | 752201811d5a |
children | e2fbec28654c |
comparison
equal
deleted
inserted
replaced
6584:b17470ba976f | 6686:155de3e19adb |
---|---|
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 |