tests/test-import.t
branchstable
changeset 16650 fcb97d9a26cd
parent 16124 0e0060bf2f44
child 16888 040b8c08b6c0
equal deleted inserted replaced
16649:822e75386c16 16650:fcb97d9a26cd
   995   c1
   995   c1
   996   c2
   996   c2
   997   c3
   997   c3
   998   c4
   998   c4
   999 
   999 
       
  1000 no segfault while importing a unified diff which start line is zero but chunk
       
  1001 size is non-zero
       
  1002 
       
  1003   $ hg init startlinezero
       
  1004   $ cd startlinezero
       
  1005   $ echo foo > foo
       
  1006   $ hg commit -Amfoo
       
  1007   adding foo
       
  1008 
       
  1009   $ hg import --no-commit - << EOF
       
  1010   > diff a/foo b/foo
       
  1011   > --- a/foo
       
  1012   > +++ b/foo
       
  1013   > @@ -0,1 +0,1 @@
       
  1014   >  foo
       
  1015   > EOF
       
  1016   applying patch from stdin
       
  1017 
       
  1018   $ cd ..
       
  1019 
  1000 Test corner case involving fuzz and skew
  1020 Test corner case involving fuzz and skew
  1001 
  1021 
  1002   $ hg init morecornercases
  1022   $ hg init morecornercases
  1003   $ cd morecornercases
  1023   $ cd morecornercases
  1004 
  1024