tests/test-mq-qnew.t
changeset 25454 b5a8bc09b0db
parent 25453 d3a00fc3680f
child 26587 56b2bcea2529
equal deleted inserted replaced
25453:d3a00fc3680f 25454:b5a8bc09b0db
    19   >     hg qnew ..
    19   >     hg qnew ..
    20   >     hg qnew .hgignore
    20   >     hg qnew .hgignore
    21   >     hg qnew .mqfoo
    21   >     hg qnew .mqfoo
    22   >     hg qnew 'foo#bar'
    22   >     hg qnew 'foo#bar'
    23   >     hg qnew 'foo:bar'
    23   >     hg qnew 'foo:bar'
       
    24   >     hg qnew "`echo foo; echo bar`"
    24   > 
    25   > 
    25   >     hg qinit -c
    26   >     hg qinit -c
    26   > 
    27   > 
    27   >     echo '% qnew with name containing slash'
    28   >     echo '% qnew with name containing slash'
    28   >     hg qnew foo/
    29   >     hg qnew foo/
   108   abort: ".." cannot be used as the name of a patch
   109   abort: ".." cannot be used as the name of a patch
   109   abort: patch name cannot begin with ".hg"
   110   abort: patch name cannot begin with ".hg"
   110   abort: patch name cannot begin with ".mq"
   111   abort: patch name cannot begin with ".mq"
   111   abort: '#' cannot be used in the name of a patch
   112   abort: '#' cannot be used in the name of a patch
   112   abort: ':' cannot be used in the name of a patch
   113   abort: ':' cannot be used in the name of a patch
       
   114   abort: '\n' cannot be used in the name of a patch
   113   % qnew with name containing slash
   115   % qnew with name containing slash
   114   abort: path ends in directory separator: foo/ (glob)
   116   abort: path ends in directory separator: foo/ (glob)
   115   abort: "foo" already exists as a directory
   117   abort: "foo" already exists as a directory
   116   foo/bar.patch
   118   foo/bar.patch
   117   popping foo/bar.patch
   119   popping foo/bar.patch
   176   abort: ".." cannot be used as the name of a patch
   178   abort: ".." cannot be used as the name of a patch
   177   abort: patch name cannot begin with ".hg"
   179   abort: patch name cannot begin with ".hg"
   178   abort: patch name cannot begin with ".mq"
   180   abort: patch name cannot begin with ".mq"
   179   abort: '#' cannot be used in the name of a patch
   181   abort: '#' cannot be used in the name of a patch
   180   abort: ':' cannot be used in the name of a patch
   182   abort: ':' cannot be used in the name of a patch
       
   183   abort: '\n' cannot be used in the name of a patch
   181   % qnew with name containing slash
   184   % qnew with name containing slash
   182   abort: path ends in directory separator: foo/ (glob)
   185   abort: path ends in directory separator: foo/ (glob)
   183   abort: "foo" already exists as a directory
   186   abort: "foo" already exists as a directory
   184   foo/bar.patch
   187   foo/bar.patch
   185   popping foo/bar.patch
   188   popping foo/bar.patch