Mercurial > evolve
comparison tests/test-topic.t @ 6611:1dc008b6ad21 stable
topic: add a missing comma in the topic name rejection message
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 11 Dec 2023 16:27:09 -0300 |
parents | ae7c75c43f92 |
children | 196babdbb593 755bb6998051 237f99ee3d64 |
comparison
equal
deleted
inserted
replaced
6610:ae7c75c43f92 | 6611:1dc008b6ad21 |
---|---|
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 |
333 $ hg --encoding latin1 topics | 333 $ hg --encoding latin1 topics |
334 * \xe6 (0 changesets) (esc) | 334 * \xe6 (0 changesets) (esc) |
335 | 335 |
336 $ hg --encoding utf-8 topic © | 336 $ hg --encoding utf-8 topic © |
337 abort: invalid topic name: '\xc2\xa9' (esc) | 337 abort: invalid topic name: '\xc2\xa9' (esc) |
338 (topic names can only consist of alphanumeric, '-' '_' and '.' characters) | 338 (topic names can only consist of alphanumeric, '-', '_' and '.' characters) |
339 [10] | 339 [10] |
340 | 340 |
341 $ hg --encoding latin1 topic æ | 341 $ hg --encoding latin1 topic æ |
342 abort: invalid topic name: '\xc3\xa6' (esc) | 342 abort: invalid topic name: '\xc3\xa6' (esc) |
343 (topic names can only consist of alphanumeric, '-' '_' and '.' characters) | 343 (topic names can only consist of alphanumeric, '-', '_' and '.' characters) |
344 [10] | 344 [10] |
345 | 345 |
346 Make a topic | 346 Make a topic |
347 | 347 |
348 $ hg topic narf | 348 $ hg topic narf |