bug-patch
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-patch] Problem in applying patches


From: Usama Munir Dar
Subject: [bug-patch] Problem in applying patches
Date: Tue, 29 Mar 2011 17:00:33 +0200

Hi All,

i have a problem patching several diff files, and to my eyes, they look correct and should work, but i keep getting the hunk failed error.  i have attached one example, i am simply trying the following

usama-dars-macbook-pro-4:test usm$ patch --verbose -o tmpmAcDbh-new tmpmAcDbh SchedulePublicationConfigurationImpl.java.diff 
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff -r baee043d7d9d -r e3dc07c9eedd java/net/worldticket/integration/ssm/SchedulePublicationConfigurationImpl.java
|--- a/java/net/worldticket/integration/ssm/SchedulePublicationConfigurationImpl.java Mon Mar 28 18:08:45 2011 +0300
|+++ b/java/net/worldticket/integration/ssm/SchedulePublicationConfigurationImpl.java Mon Mar 28 18:21:44 2011 +0300
--------------------------
Patching file tmpmAcDbh using Plan A...
Hunk #1 FAILED at 7.
1 out of 1 hunk FAILED -- saving rejects to file tmpmAcDbh-new.rej
done


What am i doing wrong??

Thanks, 
--
Usama Dar
Chief Technology Officer

WorldTicket A/S
Søborg Hovedgade 94 B
DK-2860 Søborg
Denmark

Telephone: +45 3956 3955
Mobile: +45 60 13 10 72

E-mail: address@hidden
Web: http://www.worldticket.net
Skype: usamadar

Attachment: example.tar.gz
Description: GNU Zip compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]