Mercurial > evolve
comparison tests/test-topic.t @ 6687:e2fbec28654c mercurial-5.6
test-compat: merge mercurial-5.7 into mercurial-5.6
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sun, 04 Feb 2024 16:54:39 -0300 |
parents | a62308fb15c1 752201811d5a |
children | 6c653a3160ff |
comparison
equal
deleted
inserted
replaced
6585:a62308fb15c1 | 6687:e2fbec28654c |
---|---|
283 abort: topic names cannot consist entirely of whitespace | 283 abort: topic names cannot consist entirely of whitespace |
284 [255] | 284 [255] |
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 [255] | 289 [255] |
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 [255] | 294 [255] |
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 [255] | 302 [255] |
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 [255] | 339 [255] |
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 [255] | 344 [255] |
340 | 345 |
341 Make a topic | 346 Make a topic |
342 | 347 |
343 $ hg topic narf | 348 $ hg topic narf |