tests/test-topic.t
changeset 3667 a346b1641dfa
parent 3652 81985b9d3e74
child 3714 19ec729f3ca2
child 3763 6f56ff701746
equal deleted inserted replaced
3666:af9981930dbd 3667:a346b1641dfa
   115   abort: topic name cannot consist entirely of whitespaces
   115   abort: topic name cannot consist entirely of whitespaces
   116   [255]
   116   [255]
   117 
   117 
   118   $ hg topic 'a12#45'
   118   $ hg topic 'a12#45'
   119   abort: invalid topic name: 'a12#45'
   119   abort: invalid topic name: 'a12#45'
   120   (topic names can only consist of alphanumeric, '-' and '_' characters)
   120   (topic names can only consist of alphanumeric, '-' '_' and '.' characters)
   121   [255]
   121   [255]
   122 
   122 
   123   $ hg topic 'foo bar'
   123   $ hg topic 'foo bar'
   124   abort: invalid topic name: 'foo bar'
   124   abort: invalid topic name: 'foo bar'
   125   (topic names can only consist of alphanumeric, '-' and '_' characters)
   125   (topic names can only consist of alphanumeric, '-' '_' and '.' characters)
   126   [255]
   126   [255]
   127 
   127 
   128 this is trying to list topic names
   128 this is trying to list topic names
   129   $ hg topic ''
   129   $ hg topic ''
   130 
   130 
   131   $ hg topic '*12 B23'
   131   $ hg topic '*12 B23'
   132   abort: invalid topic name: '*12 B23'
   132   abort: invalid topic name: '*12 B23'
   133   (topic names can only consist of alphanumeric, '-' and '_' characters)
   133   (topic names can only consist of alphanumeric, '-' '_' and '.' characters)
   134   [255]
   134   [255]
   135 
   135 
   136 Test commit flag and help text
   136 Test commit flag and help text
   137 
   137 
   138   $ echo stuff >> alpha
   138   $ echo stuff >> alpha