tests/test-mq-qnew.t
branchstable
changeset 12879 da4a9ed369c8
parent 12878 1634287b6ab1
child 12960 e339346a9b05
equal deleted inserted replaced
12878:1634287b6ab1 12879:da4a9ed369c8
    23   >     hg qinit -c
    23   >     hg qinit -c
    24   > 
    24   > 
    25   >     echo '% qnew with name containing slash'
    25   >     echo '% qnew with name containing slash'
    26   >     hg qnew foo/
    26   >     hg qnew foo/
    27   >     hg qnew foo/bar.patch
    27   >     hg qnew foo/bar.patch
       
    28   >     hg qnew foo
    28   >     hg qseries
    29   >     hg qseries
    29   >     hg qpop
    30   >     hg qpop
    30   >     hg qdelete foo/bar.patch
    31   >     hg qdelete foo/bar.patch
    31   > 
    32   > 
    32   >     echo '% qnew with uncommitted changes'
    33   >     echo '% qnew with uncommitted changes'
   105   abort: ".mqfoo" cannot be used as the name of a patch
   106   abort: ".mqfoo" cannot be used as the name of a patch
   106   abort: "foo#bar" cannot be used as the name of a patch
   107   abort: "foo#bar" cannot be used as the name of a patch
   107   abort: "foo:bar" cannot be used as the name of a patch
   108   abort: "foo:bar" cannot be used as the name of a patch
   108   % qnew with name containing slash
   109   % qnew with name containing slash
   109   abort: cannot write patch "foo/": Is a directory
   110   abort: cannot write patch "foo/": Is a directory
       
   111   abort: "foo" already exists as a directory
   110   foo/bar.patch
   112   foo/bar.patch
   111   popping foo/bar.patch
   113   popping foo/bar.patch
   112   patch queue now empty
   114   patch queue now empty
   113   % qnew with uncommitted changes
   115   % qnew with uncommitted changes
   114   uncommitted.patch
   116   uncommitted.patch
   169   abort: ".mqfoo" cannot be used as the name of a patch
   171   abort: ".mqfoo" cannot be used as the name of a patch
   170   abort: "foo#bar" cannot be used as the name of a patch
   172   abort: "foo#bar" cannot be used as the name of a patch
   171   abort: "foo:bar" cannot be used as the name of a patch
   173   abort: "foo:bar" cannot be used as the name of a patch
   172   % qnew with name containing slash
   174   % qnew with name containing slash
   173   abort: cannot write patch "foo/": Is a directory
   175   abort: cannot write patch "foo/": Is a directory
       
   176   abort: "foo" already exists as a directory
   174   foo/bar.patch
   177   foo/bar.patch
   175   popping foo/bar.patch
   178   popping foo/bar.patch
   176   patch queue now empty
   179   patch queue now empty
   177   % qnew with uncommitted changes
   180   % qnew with uncommitted changes
   178   uncommitted.patch
   181   uncommitted.patch