tests/test-topic.t
changeset 2889 31cbace4c0f1
parent 2888 aa5268900ba1
child 2898 3dfc88c06378
equal deleted inserted replaced
2888:aa5268900ba1 2889:31cbace4c0f1
    91   [255]
    91   [255]
    92 
    92 
    93 Trying some invalid topicnames
    93 Trying some invalid topicnames
    94 
    94 
    95   $ hg topic '.'
    95   $ hg topic '.'
       
    96   abort: the name '.' is reserved
       
    97   [255]
    96   $ hg topic null
    98   $ hg topic null
       
    99   abort: the name 'null' is reserved
       
   100   [255]
    97   $ hg topic tip
   101   $ hg topic tip
       
   102   abort: the name 'tip' is reserved
       
   103   [255]
    98   $ hg topic 12345
   104   $ hg topic 12345
       
   105   abort: cannot use an integer as a name
       
   106   [255]
    99   $ hg topic '   '
   107   $ hg topic '   '
       
   108   abort: topic name cannot consist entirely of whitespaces
       
   109   [255]
   100 
   110 
   101 Test commit flag and help text
   111 Test commit flag and help text
   102 
   112 
   103   $ echo stuff >> alpha
   113   $ echo stuff >> alpha
   104   $ HGEDITOR=cat hg ci -t topicflag
   114   $ HGEDITOR=cat hg ci -t topicflag