[Petal] Problems patching Petal

Jean-Michel Hiver jhiver at mkdoc.com
Fri Apr 11 12:23:35 BST 2003


Hi,

I have tried to apply your patches, here's what I get.


  [jhiver at frogette Petal]$ patch -p0 <t.patch 
  patching file ./t/001_Include.t
  patch: **** malformed patch at line 85: @@ -1,13 +1,12 @@

  [jhiver at frogette Petal]$ 


  [jhiver at frogette Petal]$ patch -p0 <t2.patch 
  patching file ./t/007_String_Modifier.t
  Hunk #1 FAILED at 4.
  Hunk #2 FAILED at 24.
  2 out of 2 hunks FAILED -- saving rejects to file
  ./t/007_String_Modifier.t.rej
  patching file ./t/011_Delete_Attr.t
  Hunk #1 FAILED at 1.
  Hunk #2 FAILED at 17.
  2 out of 2 hunks FAILED -- saving rejects to file
  ./t/011_Delete_Attr.t.rej
  patching file ./t/016_Method_Param.t
  Hunk #1 FAILED at 1.
  Hunk #2 FAILED at 21.
  2 out of 2 hunks FAILED -- saving rejects to file
  ./t/016_Method_Param.t.rej
  patching file ./t/018_String_Count.t
  patching file ./t/025_Omit_Tag.t
  patching file ./t/031_Escape_Semicolon.t
  [jhiver at frogette Petal]$ 


  [jhiver at frogette Petal]$ patch -p0 <tests.patch 
  patching file ./t/001_Include.t
  patching file ./t/007_String_Modifier.t
  Hunk #1 FAILED at 4.
  Hunk #2 FAILED at 24.
  2 out of 2 hunks FAILED -- saving rejects to file
  ./t/007_String_Modifier.t.rej
  patching file ./t/011_Delete_Attr.t
  Hunk #1 FAILED at 1.
  Hunk #2 FAILED at 17.
  2 out of 2 hunks FAILED -- saving rejects to file
  ./t/011_Delete_Attr.t.rej
  patching file ./t/016_Method_Param.t
  Hunk #1 FAILED at 1.
  Hunk #2 FAILED at 21.
  2 out of 2 hunks FAILED -- saving rejects to file
  ./t/016_Method_Param.t.rej
  patching file ./t/018_String_Count.t
  patching file ./t/025_Omit_Tag.t
  patching file ./t/030_Attributes_AndQuot.t
  patching file ./t/031_Escape_Semicolon.t
  [jhiver at frogette Petal]$


(this last one works!)
  [jhiver at frogette Petal]$ patch -p0 <string.patch 
  patching file lib/Petal/CodeGenerator.pm
  patching file lib/Petal/CodeGeneratorString.pm
  [jhiver at frogette Petal]$


Any ideas of what's going wrong?
Cheers,
-- 
Building a better web - http://www.mkdoc.com/
---------------------------------------------
Jean-Michel Hiver
jhiver at mkdoc.com  - +44 (0)114 255 8097
Homepage: http://www.webmatrix.net/


More information about the Petal mailing list