tests/test-qrecord.t
changeset 31556 448acdee9161
parent 31065 7074589cf22a
child 34013 da07367d683b
equal deleted inserted replaced
31555:7c7d3ad7ca5c 31556:448acdee9161
   237 qrecord with bad patch name, should abort before prompting
   237 qrecord with bad patch name, should abort before prompting
   238 
   238 
   239   $ hg qrecord .hg
   239   $ hg qrecord .hg
   240   abort: patch name cannot begin with ".hg"
   240   abort: patch name cannot begin with ".hg"
   241   [255]
   241   [255]
       
   242   $ hg qrecord ' foo'
       
   243   abort: patch name cannot begin or end with whitespace
       
   244   [255]
       
   245   $ hg qrecord 'foo '
       
   246   abort: patch name cannot begin or end with whitespace
       
   247   [255]
   242 
   248 
   243 qrecord a.patch
   249 qrecord a.patch
   244 
   250 
   245   $ hg qrecord -d '0 0' -m aaa a.patch <<EOF
   251   $ hg qrecord -d '0 0' -m aaa a.patch <<EOF
   246   > y
   252   > y