tests/test-mq-qpush-fail.t
branchstable
changeset 13508 0396ca8015be
parent 13369 69238d0ca60f
child 14464 00256f689f9c
equal deleted inserted replaced
13507:375ba42f3cda 13508:0396ca8015be
    48   tag:         tip
    48   tag:         tip
    49   user:        test
    49   user:        test
    50   date:        Thu Jan 01 00:00:00 1970 +0000
    50   date:        Thu Jan 01 00:00:00 1970 +0000
    51   summary:     add foo
    51   summary:     add foo
    52   
    52   
       
    53 
       
    54 test corrupt status file
       
    55   $ hg qpush
       
    56   applying patch1
       
    57   now at: patch1
       
    58   $ cp .hg/patches/status .hg/patches/status.orig
       
    59   $ hg qpop
       
    60   popping patch1
       
    61   patch queue now empty
       
    62   $ cp .hg/patches/status.orig .hg/patches/status
       
    63   $ hg qpush
       
    64   mq status file refers to unknown node * (glob)
       
    65   abort: working directory revision is not qtip
       
    66   [255]
       
    67   $ rm .hg/patches/status .hg/patches/status.orig
       
    68 
    53 
    69 
    54 bar should be gone; other unknown/ignored files should still be around
    70 bar should be gone; other unknown/ignored files should still be around
    55 
    71 
    56   $ hg status -A
    72   $ hg status -A
    57   ? untracked-file
    73   ? untracked-file